User forums > Using Code::Blocks
CB10.05minGW on XpPc: New wxWidgets wxSmith Proj - CB ask: wxWidgets Location ?
stahta01:
Did you use "MONOLITHIC=1" or did you use "MONOLITHIC=0"?
Tim S.
Mel_3:
Tim,
- I used the Batch File you provided earlier in this thread... modified as you suggested...
- Change "MONOLITHIC=1" to "MONOLITHIC=0".
- The batch file I used is shown at the end of this post.
- It seems to have worked fine in that I got no errors.
I have been unable to find "Configure Advanced Options in CB. I looked under Settings | Compiler and Debugger
but did not see it there... and I'm not sure what I would change if I found it as I'm just not familiar enough yet with the tools.
So I'm not sure what to do next.
I really want to get this setup done and working properly so I thank you and the others for your help!
(The batch file I used to compile wxWidgets is below.)
SET PATH=C:\Program Files\CodeBlocks\MinGW\bin;%PATH%
REM Change to the wxWidgets build directory
cd c:\wxWidgets-2.8.12\build\msw
REM Clean the release monolithic unicode DLL build
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 clean
REM Create the release monolithic unicode DLL build
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1
PAUSE
stahta01:
You NEED to Use the Multi-lib option in the Wizard NOT Monolithic when using a Multi-lib build of wxWidgets!
Tim S.
Mel_3:
I don't see a Multi-lib option.
Clicking through the New Project Wizard...
New Project | wxWidgets | wxWidgets 2.8x | myProject | Next | wxSmith | Frame Based | Next |
| c:\wxWidgets-2.8.12 | GNU GCC Compiler | Create Debug Config | Create Release Config |
Till I get to this screen... the choices are...
----------------------------------------------
wxWidgets Library Settings:
___ use wxWidgetsDLL
___ wxWidgests is built as a monolithic library
___ Enable Unicode
Misc Settings:
___ Create Empty Project
___ Create and use Pre-compiled Header
Configuration _____________________
___ Configure Advanced Options
----------------------------------------------
And no matter what I check box I check I get the WARNING...
"A matching debug configuration can not be found in the wxWidgets directory you specified.
This means the debug target of your project will not be built.
Are you sure you want to continue with these settings"
stahta01:
I have to give up helping you; I feel like I am playing twenty questions.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version