Code::Blocks Forums

User forums => Help => Topic started by: indigo0086 on January 09, 2007, 03:26:39 pm

Title: Couldn't understand last instructiosn for Wxwidgets and Codeblocks
Post by: indigo0086 on January 09, 2007, 03:26:39 pm
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.
Title: Re: Couldn't understand last instructiosn for Wxwidgets and Codeblocks
Post by: MortenMacFly on January 09, 2007, 03:51:28 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.
[/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
Automatically creates the "gcc_dllNonUnicode" folder for you.
With regards, Morten.
Title: Re: Couldn't understand last instructiosn for Wxwidgets and Codeblocks
Post by: indigo0086 on January 09, 2007, 04:07:21 pm
So why when I try to make a project it says it could not find the proper configuration?