News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Couldn't understand last instructiosn for Wxwidgets and Codeblocks

Started by indigo0086, January 09, 2007, 03:26:39 PM

Previous topic - Next topic

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
QuoteCopying 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.

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.
[/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:
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

indigo0086

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