Search found 4171 matches
- Sat May 06, 2023 6:49 am
- Forum: General Development
- Topic: Bakefile support
- Replies: 12
- Views: 3444
Re: Bakefile support
AFAIK no distro ever supplied binaries. To see what's available from the bakefile site, see https://github.com/vslavik/bakefile/releases.
- Sun Apr 30, 2023 7:00 am
- Forum: General Development
- Topic: What to install for cross-compiling?
- Replies: 1
- Views: 2084
Re: What to install for cross-compiling?
From the way you phrased your question, closely following your previous topic , I think one of us misunderstands what is wanted. In that topic I suggested installing VirtualBox inside your current machine's OS. That's not a wx issue; just look at the VirtualBox site, or see what your OS provides, or...
- Sat Apr 29, 2023 5:00 pm
- Forum: General Development
- Topic: Bakefile support
- Replies: 12
- Views: 3444
Re: Bakefile support
Sorry, no idea. Cross-compiling is something I've never needed/wanted to do.
However I've seen it discussed in other threads here, so...
However I've seen it discussed in other threads here, so...
- Sat Apr 29, 2023 1:34 pm
- Forum: General Development
- Topic: Bakefile support
- Replies: 12
- Views: 3444
Re: Bakefile support
Install e.g. VirtualBox in your current machine. Then install e.g. debian buster (which is 'oldstable' and so still supported) into VirtualBox.
Install Bakefile inside the debian buster guest, and you're set up for years of use.
Install Bakefile inside the debian buster guest, and you're set up for years of use.
- Mon Apr 17, 2023 4:19 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Makefile, Precompiler Headers and Compiling in Linux
- Replies: 19
- Views: 1298
Re: Makefile, Precompiler Headers and Compiling in Linux
I have been able to compile, and build the minimal sample. Try copy/pasting your current wxT("Minimal wxWidgets App") into that, e.g. as wxString foo(wxT("Minimal wxWidgets App") ); and, for bonus points, also try editing away the wxT(): wxString bar("Minimal wxWidgets App&...
- Mon Apr 17, 2023 2:44 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Makefile, Precompiler Headers and Compiling in Linux
- Replies: 19
- Views: 1298
Re: Makefile, Precompiler Headers and Compiling in Linux
Did you, perhaps, copy/paste that string or a similar one from a web-page? I do sometimes see html quote-marks that look like that online.
- Sat Apr 15, 2023 5:05 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Makefile, Precompiler Headers and Compiling in Linux
- Replies: 19
- Views: 1298
Re: Makefile, Precompiler Headers and Compiling in Linux
Note that those are backticks (`), not commas ('). An alternative, harder-to-get-wrong, way of doing the same thing isCode: Select all
g++ -o myprog `wx-config --cxxflags --libs` mysource.cpp
Code: Select all
g++ -o myprog $(wx-config --cxxflags --libs) mysource.cpp
- Sat Apr 15, 2023 2:48 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Makefile, Precompiler Headers and Compiling in Linux
- Replies: 19
- Views: 1298
Re: Makefile, Precompiler Headers and Compiling in Linux
Since I did a shared build this is in my /usr/lib/ folder, No it isn't. wx-config --cxxflags -I/usr/ local /lib/wx/include/gtk3-unicode-3.2 wx-config --libs -L/usr/ local /lib By default, ./configure... and (sudo) make install will install to /usr/local/. I don't know about arch, but /usr/local/* i...
- Sat Apr 15, 2023 6:48 am
- Forum: Compiler / Linking / IDE Related
- Topic: Makefile, Precompiler Headers and Compiling in Linux
- Replies: 19
- Views: 1298
Re: Makefile, Precompiler Headers and Compiling in Linux
Hi, It seems it is some sort of linking issues. Not linking (yet). Can't find wx/wxprec.h and wx/wx.h means it's still at the compile stage. I did a shared build this is in my /usr/lib/ What is the output of doing, in a terminal: wx-config --cxxflags wx-config --libs How are you trying to compile he...
- Mon Apr 03, 2023 4:27 pm
- Forum: C++ Development
- Topic: Access violation in wxFileDialog::ShowModal
- Replies: 8
- Views: 528
Re: Access violation in wxFileDialog::ShowModal
Hi,
This has the smell of a wxChar* that's pointing at a temporary char*. See for example this wxWiki page.
What happens if you change your code from
const wxChar* extension = filterBuffer.t_str();
to
wxCharBuffer extension = filterBuffer.t_str());
Regards,
David
This has the smell of a wxChar* that's pointing at a temporary char*. See for example this wxWiki page.
What happens if you change your code from
const wxChar* extension = filterBuffer.t_str();
to
wxCharBuffer extension = filterBuffer.t_str());
Regards,
David
- Sun Mar 26, 2023 5:51 pm
- Forum: C++ Development
- Topic: Using stock bitmap/id in the toolbar
- Replies: 4
- Views: 417
Re: Using stock bitmap/id in the toolbar
I don't understand enough of the situation to be sure it's relevant, but have you thought of using the XRCCTRL macro?
See the XRC and IDs section of https://docs.wxwidgets.org/stable/overview_xrc.html. It's not restricted to XRC, though; it's useful elsewhere too.
See the XRC and IDs section of https://docs.wxwidgets.org/stable/overview_xrc.html. It's not restricted to XRC, though; it's useful elsewhere too.
- Sun Mar 19, 2023 3:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Load GUI libraries at runtime (but only if needed)
- Replies: 53
- Views: 5115
Re: Load GUI libraries at runtime (but only if needed)
Linking statically means everything is in the library/executable. You misunderstand. It means linking statically to the wx libs, not to everything. See my earlier post about a statically-linked 'minimal'. That linked dynamically to 76 libs, including libgtk-3.so.0 => /lib/x86_64-linux-gnu/libgtk-3....
- Thu Mar 16, 2023 9:00 pm
- Forum: General Development
- Topic: Cmake cannot find WxWidgets
- Replies: 4
- Views: 2898
Re: Cmake cannot find WxWidgets
OK. Then I don't know why you have that problem, especially if it's only on one distro. However a couple of suggestions (which you've probably already tried, but still...) 1) Check (on Rocky) that the wxWidgets samples build and run, and that they find the correct wx headers and libs. You can confir...
- Thu Mar 16, 2023 4:05 pm
- Forum: General Development
- Topic: Cmake cannot find WxWidgets
- Replies: 4
- Views: 2898
Re: Cmake cannot find WxWidgets
Hi, I don't know anything about Rocky (indeed I had to look it up) and you don't mention what you're trying to build. However the error message : I'm afraid your wxWidgets version is too old.\nBuilding CodeLite requires at least wxWidgets-3.1.0" makes it look as if it's CodeLite. If so I sugges...
- Thu Mar 09, 2023 4:10 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Load GUI libraries at runtime (but only if needed)
- Replies: 53
- Views: 5115
Re: Load GUI libraries at runtime (but only if needed)
$ ldd ./ssh not a dynamic executable I built it with "-static". For the first time in years, I just created a static wx build. 'minimal' now has only 76 dependencies: ldd ./minimal linux-vdso.so.1 (0x00007fff330f3000) libgtk-3.so.0 => /lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007f376e0a500...