Author Topic: CB10.05minGW on XpPc: New wxWidgets wxSmith Proj - CB ask: wxWidgets Location ?  (Read 14170 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Did you use "MONOLITHIC=1" or did you use "MONOLITHIC=0"?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mel_3

  • Multiple posting newcomer
  • *
  • Posts: 15
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
« Last Edit: March 14, 2012, 02:48:19 pm by Mel_3 »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
You NEED to Use the Multi-lib option in the Wizard NOT Monolithic when using a Multi-lib build of wxWidgets!

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mel_3

  • Multiple posting newcomer
  • *
  • Posts: 15
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"


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
I have to give up helping you; I feel like I am playing twenty questions.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Mel_3

  • Multiple posting newcomer
  • *
  • Posts: 15
No problem Tim. Actually you were a big help.

Once I figure out how to get wxSmith & wxWidgets working I, hopefully, can get down to actually trying to write some code.

I'll keep working on this and digging around. It has to be something simple.

Thanks again for the great help you provided!