Author Topic: Couldn't understand last instructiosn for Wxwidgets and Codeblocks  (Read 4304 times)

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Couldn't understand last instructiosn for Wxwidgets and Codeblocks
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: Couldn't understand last instructiosn for Wxwidgets and Codeblocks
« Reply #2 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?