User forums > Using Code::Blocks
xsWidgets dosn't work with CodeBlocks_12.11_
Gerry4481:
I use this now this command for bulilding: mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
But I don't understand in the quickRef is written "You must duplicate them exactly when running Code::Blocks' wxWidgets project wizard." WHAT I MUST DUPLICATE UND IN WHAT PATH OF CODE:BLOCKS I MUST COPY THE FILE.
IT MEANS THE LIB\GCC_DLL ??
THANKS A LOT!
Gerry4481:
OK I have solved my problem :-)))))) oh men it's so easy__*lol*
I make ALWAYS the same mistake!!!
SO when I create a new Project at the >>Compiler Configuration>>GNU GCC Compiler>>
there are two Options: 1. Create "Debug" Configuration
2. Create "Release" Configuration
here I choose always both of this two Options :-(( but you have to choose one of the options. that depends of the build options of wxWidgets
I have build with this options: mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
IMPORTANT IS THIS PART OF THE OPTION "BUILD=release"
so I have to choose in the new Project in Code::Blocks >>Compiler Configuration>>GNU GCC Compiler>>
only>> Create "Release" Configuration
That`s it!!!
In the end it's so simple!
oBFusCATed:
--- Quote from: Gerry4481 on June 23, 2013, 07:41:04 am ---so I have to choose in the new Project in Code::Blocks >>Compiler Configuration>>GNU GCC Compiler>>
only>> Create "Release" Configuration
--- End quote ---
This is not required, you can create a debug config, too, but you have to modify it (manually) to use the release version of the wxWidgets.
Navigation
[0] Message Index
[*] Previous page
Go to full version