Hi,
I'm trying to build a sample project generated with CodeBlocks and getting error messages that methods of wxSystemOptions and wxClientDataContainer are not found.
I was trying to build wxWidgets with different options (debug/release, ANSI/UNICODE etc.) and using makefile.gcc or MSYS configure tool.
By the way, to get makefile.gcc work I had to replace manually all backward slashes (\) to forward (/) in the include (-I) compiler options.
Thanks!
Linking errors with sample project (CodeBlocks)
What version of Code::Blocks are you using and what version of wxWidgets does it expect to compile against? It might be that it is compiled with a newer version of wxWidgets compared to what you have installed.
- Jorgen
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Sorry, I forgot to tell this. The wxWidgets version is 2.6.3 (MSW), and I'm using CodeBlocks 1.0 RC2 (including gcc 3.4.4).
The IDE creates a sample wxWidgets project with cusom variables that store paths to the wxWidgets library (which I edited of course). Also I had to correct pieces like to surround an empty string with wxT().
The IDE creates a sample wxWidgets project with cusom variables that store paths to the wxWidgets library (which I edited of course). Also I had to correct pieces like
Code: Select all
wxMenu* fileMenu = new wxMenu("");
Sorry, can't quite understand what does this support mean. If it's just in the project settings for the libraries used by the linker then I manually added ones built with non-monolithic build (wx..._core etc.)mispunt wrote:The template provided by Code::Blocks does only support the MONOLITHIC build, in the nightly build it should be possible to use the none monolithic build. (for the nightly builds see the forum of C::B)
-
- Earned some good credits
- Posts: 145
- Joined: Sun May 29, 2005 3:42 pm
- Location: Bettendorf, Iowa, USA (aka, BFE)
Re: Linking errors with sample project (CodeBlocks)
You know, all these problems with Code::Blocks mismatches of libs can be avoided. Use DialogBlocks instead. It always checks that the lib you are using and the lib you have said you want to use are a match. It builds the libs for every platform available to wxWidgets and will build any code on any platform for wxWidgets. No running to a forum to find the latest configurations that work or what "secrets" re: Code::Blocks/MinGW/MSYS/wxWidgets versions you need to know to get things to work today. That is, unless you enjoy solving mysteries!;)stu003 wrote:Hi,
I'm trying to build a sample project generated with CodeBlocks and getting error messages that methods of wxSystemOptions and wxClientDataContainer are not found.
I was trying to build wxWidgets with different options (debug/release, ANSI/UNICODE etc.) and using makefile.gcc or MSYS configure tool.
By the way, to get makefile.gcc work I had to replace manually all backward slashes (\) to forward (/) in the include (-I) compiler options.
Thanks!
Personally, I'd rather work with my applications than try to figure out what's wrong with my tools this time, today.
thx,
Dave S.
wxMS_developers