User forums > Help

Couldn't understand last instructiosn for Wxwidgets and Codeblocks

(1/1)

indigo0086:
I already built the library files as instructed here
http://www.wxwidgets.org/wiki/index.php/CodeBlocks_Setup_Guide

but the last steps in copy libraries I don't understand.  Do I make a folder in \lib and copy all the newly compiled files into it and change it to gcc_dllNonUnicode

--- Quote --- Copying libraries

When compilation is finished it is usefull to copy the libs to another directory. By doing this you can make several builds (e.g. debug and release).

    * So first we create a directory this could be done in %WXWIN%\lib.
    * Then we go to the directory %WXWIN%\lib\gcc_dll (could called diffrent when you changed the build options)
    * Rename the directory %WXWIN%\lib\gcc_dll to the directory of your choice. (For me it is %WXWIN%\lib\gcc_dllNonUnicode)

NOTE: Make sure everything is removed from the directory %WXWIN%\lib\gcc_dll else you can get trouble when compiling another version.
--- End quote ---

MortenMacFly:

--- Quote from: indigo0086 on January 09, 2007, 03:26:39 pm ---When compilation is finished it is usefull to copy the libs to another directory. By doing this you can make several builds (e.g. debug and release).

    * So first we create a directory this could be done in %WXWIN%\lib.
    * Then we go to the directory %WXWIN%\lib\gcc_dll (could called diffrent when you changed the build options)
    * Rename the directory %WXWIN%\lib\gcc_dll to the directory of your choice. (For me it is %WXWIN%\lib\gcc_dllNonUnicode)

NOTE: Make sure everything is removed from the directory %WXWIN%\lib\gcc_dll else you can get trouble when compiling another version.
--- End quote ---
[/quote]
Whoever wrote that is obviously not aware of the CFG switch for compiling WX. Using this makes the statement above irrelevant.
E.g. compiling WX using:

--- Code: ---mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 USE_XRC=1 UNICODE=0 CFG=NonUnicode
--- End code ---
Automatically creates the "gcc_dllNonUnicode" folder for you.
With regards, Morten.

indigo0086:
So why when I try to make a project it says it could not find the proper configuration?

Navigation

[0] Message Index

Go to full version