Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: freepro on December 09, 2012, 08:08:18 am

Title: Use CodeBlocks 12.11 problem
Post by: freepro on December 09, 2012, 08:08:18 am
I use CodeBlocks 12.11 create a wxWidgets project, compiled and link is right, but it is error when i run.
infomation:
Checking for existence: E:\Program\C++\wxWidgets\Test\bin\Debug\Test.exe
Executing: "E:\Program\C++\wxWidgets\Test\bin\Debug\Test.exe"  (in E:\Program\C++\wxWidgets\Test\.)
Process terminated with status -1073741819 (0 minutes, 8 seconds)
what happend?
Title: Re: Use CodeBlocks 12.11 problem
Post by: xunxun on December 09, 2012, 10:18:10 am
Can you run E:\Program\C++\wxWidgets\Test\bin\Debug\Test.exe directly on Windows?
What's the effect?
Title: Re: Use CodeBlocks 12.11 problem
Post by: freepro on December 09, 2012, 11:12:19 am
if direct run Test.exe at Windows, The program will stop directly.
Title: Re: Use CodeBlocks 12.11 problem
Post by: stahta01 on December 09, 2012, 02:17:56 pm
Does you program have a return 0 in it?

Tim S.
Title: Re: Use CodeBlocks 12.11 problem
Post by: freepro on December 10, 2012, 03:23:14 am
This is a wxWidgets project. Other program haven't problem, only wxWidgets project. I don't know what happend.
Title: Re: Use CodeBlocks 12.11 problem
Post by: Jenna on December 10, 2012, 06:25:01 am
Did it work with older revision of C::B, and if yes:
do you also use the compiler shipped with C::B (MinGW-bundled package)?
In this case you need to rebuild your project and wxWidgets, because the compiler has changed.
Title: Re: Use CodeBlocks 12.11 problem
Post by: freepro on December 10, 2012, 09:20:11 am
I am through the wizard to create a new project, compiled and link is normal. But program does not run, error information see my problrm.
My 10.05 haven't the problem, but the 12.11 have it.
I use CodeBlocks-12.11mingw-setup.exe. :(
Title: Re: Use CodeBlocks 12.11 problem
Post by: Jenna on December 10, 2012, 09:23:58 am
My 10.05 haven't the problem, but the 12.11 have it.
I use CodeBlocks-12.11mingw-setup.exe. :(
do you also use the compiler shipped with C::B (MinGW-bundled package)?
In this case you need to rebuild your project and wxWidgets, because the compiler has changed.
Title: Re: Use CodeBlocks 12.11 problem
Post by: freepro on December 10, 2012, 09:26:28 am
Oh, i understand it, i will to try.
Thank you!