Existing wxWidgets v3.03 Project Migration to v3.04
Existing wxWidgets v3.03 Project Migration to v3.04
How can a wxWidgets project created by the wizard to use wxWidgets v3.03 be changed to use wxWidgets v3.04?
Re: Existing wxWidgets v3.03 Project Migration to v3.04
What wizard/IDE/OS?
For example on Windows, nothing needs to be done as long as the path remained the same. If a new wxWidgets version was installed into a different directory, the paths need to be changed at least for include and linker (the libraries themselves should still have the same name as before) directories.
For example on Windows, nothing needs to be done as long as the path remained the same. If a new wxWidgets version was installed into a different directory, the paths need to be changed at least for include and linker (the libraries themselves should still have the same name as before) directories.
- eranon
- Can't get richer than this
- Posts: 867
- Joined: Sun May 13, 2012 11:42 pm
- Location: France
- Contact:
Re: Existing wxWidgets v3.03 Project Migration to v3.04
Since I saw in another thread you're using Codeblocks, you simply have to adjust the path to wxWidgets as PB said. In Codeblocks, the easiest way is to use a global variable in settings. For example, you can call it "wx" if you're using a single wxWidgets version for all your projects or wx30 if you have some projects based on wxWidgets 3.0.x and some others based on others wxWidgets serials (eg. wx28, wx29, wx31). Then, in your project, your search directories about wxWidgets are based on this Clodeblocks variable.
In your build options (here, search directory about linker) rather than this hardcoded path:
you'll use this variable one:
knowing the wx31 variable has been defined like this in Codeblocks settings:
In your build options (here, search directory about linker) rather than this hardcoded path:
Code: Select all
C:\devlibs\wxWidgets-3.1.0
Code: Select all
$(#wx31)\lib\gcc_lib64
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]