Author Topic: Use CodeBlocks 12.11 problem  (Read 5387 times)

Offline freepro

  • Multiple posting newcomer
  • *
  • Posts: 31
Use CodeBlocks 12.11 problem
« 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?

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: Use CodeBlocks 12.11 problem
« Reply #1 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?
Regards,
xunxun

Offline freepro

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Use CodeBlocks 12.11 problem
« Reply #2 on: December 09, 2012, 11:12:19 am »
if direct run Test.exe at Windows, The program will stop directly.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Use CodeBlocks 12.11 problem
« Reply #3 on: December 09, 2012, 02:17:56 pm »
Does you program have a return 0 in it?

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

Offline freepro

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Use CodeBlocks 12.11 problem
« Reply #4 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.
« Last Edit: December 10, 2012, 03:25:33 am by freepro »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Use CodeBlocks 12.11 problem
« Reply #5 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.

Offline freepro

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Use CodeBlocks 12.11 problem
« Reply #6 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. :(

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Use CodeBlocks 12.11 problem
« Reply #7 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.

Offline freepro

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Use CodeBlocks 12.11 problem
« Reply #8 on: December 10, 2012, 09:26:28 am »
Oh, i understand it, i will to try.
Thank you!