Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Rinaldo on April 23, 2017, 04:34:56 pm

Title: Error message at the end of the wizard using wxWidget
Post by: Rinaldo on April 23, 2017, 04:34:56 pm
Hi,

I get an error message at the end of the wizard when i have chosen wxWidget 3.1.0 (or 3.0.2)

It says that it won't compile or debug the program. I do have make the makefile.gcc and using the gcc compiler on windows 10 creators update.

What is wrong, can you help me out.

Regards Rinaldo
Title: Re: Error message at the end of the wizard using wxWidget
Post by: stahta01 on April 23, 2017, 04:48:11 pm
Ignore the message or build an wxWidgets debug build.

I think you need to click yes to continue.

Tim S.
Title: Re: Error message at the end of the wizard using wxWidget
Post by: oBFusCATed on April 23, 2017, 04:49:24 pm
It says that it won't compile or debug the program.
Sorry but it doesn't say this! Please re-read the message carefully!

To solve your this particular problem you need to build a debug version of wxwidgets.
Generally this is not required to make a debug version of your executable, but this is how the wizard has been set up.
Title: Re: Error message at the end of the wizard using wxWidget
Post by: Rinaldo on April 23, 2017, 05:51:51 pm
Hi,
I did ignore the message and compile it but the linker give an error ld.exe||cannot find -lwxmsw30u| while i am using 3.1.0 of wxWidgets and set it in the linker options.

I try further.

Thanks for the reply's if someone knows how to correct this.
Title: Re: Error message at the end of the wizard using wxWidget
Post by: stahta01 on April 23, 2017, 07:22:52 pm
Then choose 3.1 instead of 3.0 in the wizard.


Edit: What command did you use to build wxWidgets 3.1.0 release build?
Title: Re: Error message at the end of the wizard using wxWidget
Post by: Rinaldo on April 23, 2017, 07:33:55 pm
I can't choose for 3.1 in the wizard, only 3.0 and 2.X

I downloaded 3.1 and compiled in build\msw the makefile.gcc with mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
Title: Re: Error message at the end of the wizard using wxWidget
Post by: BlueHazzard on April 23, 2017, 07:38:07 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F