News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Error message at the end of the wizard using wxWidget

Started by Rinaldo, April 23, 2017, 04:34:56 PM

Previous topic - Next topic

Rinaldo

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

stahta01

Ignore the message or build an wxWidgets debug build.

I think you need to click yes to continue.

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

oBFusCATed

Quote from: Rinaldo on April 23, 2017, 04:34:56 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Rinaldo

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.

stahta01

#4
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?
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Rinaldo

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