User forums > Using Code::Blocks

CB10.05minGW on XpPc: New wxWidgets wxSmith Proj - CB ask: wxWidgets Location ?

<< < (3/5) > >>

stahta01:
Change "MONOLITHIC=1" to "MONOLITHIC=0".
Or changed the MinGW Binutil's LD to a newer version.

Tim S.

Mel_3:
Da Da !!! I got wxWidgets to compile. Thanks Tim!

But when I attempted to create a wxSmith/wxWidgets project I got all the way to the end of the Project Setup then a Warning...

"A matching Debug Configuration cannot be found in the wxWidgets directory you specified.
This means that Debug target of your project will not be build.
Are you sure you want to continue with these settings?"

I was following the Tutorial at http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world

But some of the Dialog Box's of that Tutorial do not exactly match what came up during the Project Creation...

Below are the various Dialog Boxs CodeBlocks presented to me and my response...

Thanks for any help in getting through this gate !!!

- Click File | New | Project | wxWidget Project |
- Version wxWidgets 2.8x
- Preferred GUI Builder: wxSmith
- Application Type: Frame Based

Then the following...

===== Dialog Box 1 : --- wxWidgets project ---

Please select the location of wxWidgets on your computer.

wxWidget's location: c:\wxWidgets-2.8.12

===== Dialog Box 2 : --- Global Variable Editor

Current Set:       Default
Current Variable:   wx
Bulletin fields
Base:         c:\wxWidgets-2.8.12
(Other fields on this Dialog left blank)

===== Dialog Box 3 : --- wxWidgets project ---

Please select the compiler to use and which configurations yu want enabled in your project.

Compiler: GNU GCC Compiler

_x_ Create "Debug" configuration:    [ Debug ]

  "Debug" options
  Output dir.:             [ bin/Debug/ ]
  Objects output dir.:              [ obj/Debug/ ]

_x_ Create "Release" configuration:    [ Release ]
  "Release" options
  Output dir.:            [ bin/Release/ ]
  Objects output dir.:         [ obj/Release/ ]

===== Dialog Box 4 : --- wxWidgets project ---

Please select various configuration options.

What you select here, must match the installed wxWidgets library's settings

wxWidgets Librry Settings:
___ Use wxWidgets DLL
_x_ wxWidgets is built as a monolithic library
___ Enable unicode

Miscellaneous Settings:
___ Create Empty Project
_x_ Create and use precompiled header (PCH)
configuration: _____________________
___ Configure Advanced Options

===== Dialog Box 5 --- Warning ---

A matching Debug Configuration cannot be found in the wxWidgets directory you specified.
This means that Debug target of your project will not be build.

Are you sure you want to continue with these settings?

======================

stahta01:
What command did you use to compile wxWidgets?

Try checking "Configure Advanced Options" to see what the settings are for advanced Options.

The options used to build wxWidgets MUST be compatible with the CB wizard choices.

Tim S.

Jenna:
And:
do you have a debug version of wxWidgets created, or just a release-version ?

Mel_3:
I guess not. I'm a total newbie to C++, CodeBlocks, wxSmith, and wxWidgets.

My goal is to use the wxSmith feature that came with Code::Blocks and to do this helpful folks here educated me that I needed to compile wxWidgets... And Tim S. was kind enough to guide me through that. Look at his batch file & modification he posted earlier in this thread to see how I did the compile)

I downloaded wxMSW from the wxWidgets website and did the default install.

Do I need to do a second compile of the debug version of wxWidgets?

Thanks for the help.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version