Author Topic: wxwidgets project .exe not working  (Read 3967 times)

Offline paul_c_weiss

  • Multiple posting newcomer
  • *
  • Posts: 10
wxwidgets project .exe not working
« on: December 06, 2012, 06:39:19 pm »
Hello!
I am working on a Windows 7 64 bits system.
I have just upgraded to Code::Blocks 12.11 by downloading "codeblocks-12.11mingw-setup.exe" and executing it - everything went very well
I have wxWidgets-2.8.12 in a repertory on my disk

I now have tried a basic wxwidget project (just inserting a button)...
It compiles OK, no error, but the result does not execute - meaning that no windows is shown...

It used to worked perfectly well on the same system with the former version (I gues it was 9.2).
Futhermore, a console application works well - at least the "Hello World" one.

What am I overlooking???


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: wxwidgets project .exe not working
« Reply #1 on: December 06, 2012, 08:27:53 pm »
The MinGW GCC version has changed; you likely need to build both your project and wxWidgets with the same compiler.

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 paul_c_weiss

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: wxwidgets project .exe not working
« Reply #2 on: December 07, 2012, 10:22:07 pm »
As a matter of fact it was the issue!
After some sweating over the makefile results, I get a working system!
Thank you!

Paul W.