User forums > Using Code::Blocks

Can't compile wxWidgets app

(1/2) > >>

Frog:
Dear all!
I am just a beginner, and I have a problem with wxPack.
I am using CodeBlocks v. 8.02, minGW v. 3.81, wxPack 2.8.8.04 all installed on C:, OS - XP sp3
Then I try to compile barebone wxWidgets project from CodeBlocks wizard, or any samples from wxPack it starts and proceed without
any errors - at some point empty .exe file appears in the Debug/Release bin folder, stays there for a few seconds, then disappear, and
few seconds after that - compilation stops - no errors shown. I tried different settings for global variables, compiler and linker options,
but the result is always the same. No .exe file, and no errors. Can You, please, help me and point what's wrong ? Thank You for the attention.   

P.S. Regular Win32 apps are compiling normally, and produce .exe as they should.

alb_cb_moon:
I am NOT using wxPack, but I believe that the error is the Mingw version, because wxPack's autor say in the homepage section that the package only is compiled for MinGW Gcc4.2.1.

ollydbg:
I'm using the SVN version of codeblocks in windows xp.
and I'm using the mingw from http://www.tdragon.net/recentgcc/
And using wxWidgets 2.8.9 library compiled myself. In another computer, I'm using wxpack. They all work OK!
See the screencast of a sample test
http://sites.google.com/site/studycodeblocks/Home/wx.swf

stahta01:
I have found that for more than Hello world tests, wxpack works better using MultiLib setting instead of Monolithic Lib.
Tim S
 

ollydbg:
Thanks for your hint.
As a beginner of codeblocks and wxWidgets, I'm not sure to determine which libraries should be linked to a specific wxwidgets project. So as a simple way, I use monolithic library to let things work easy.

If I was an expert like you :D, maybe it is better to use "MultiLib setting instead of Monolithic Lib"

Navigation

[0] Message Index

[#] Next page

Go to full version