wxCommander Forum
Welcome, Guest. Please login or register.
September 05, 2010, 11:06:06 pm

Login with username, password and session length
Search:     Advanced search
Automatic forum registration is currently disabled due to spam problems.
To register please email username and password to
http://contact.wxcommander.com
232 Posts in 68 Topics by 11 Members
Latest Member: fireclown
* Home Help Login Register
+  wxCommander Forum
|-+  User forums
| |-+  Developer discussion
| | |-+  gcc
| | | |-+  MinGW problem
« previous next »
Pages: [1] Print
Author Topic: MinGW problem  (Read 573 times)
troels
Administrator
Full Member
*****
Posts: 125


WWW
MinGW problem
« on: October 05, 2006, 12:09:22 pm »

wxCommander builds with MSVC6 and VS2003.
It compiles and links with MinGW 3.4.5 too, but the resulting executable doesn't do anything, it silently stops immediately Sad
http://forums.codeblocks.org/index.php?topic=2212.msg17478#msg17478
I've tried recompiling with 4.0.3, 4.1.0, 4.1.1, nothing helps.
Ideas or suggestions would be very much appreciated.
(I'll only start on the Linux version when I get this to work)

Thanks

Edit: I think windres.exe may be causing this, sigh.
« Last Edit: August 05, 2007, 01:20:48 pm by troels » Logged

cdannebe
Newbie
*
Posts: 37


Re: MinGW problem
« Reply #1 on: August 03, 2007, 09:18:22 am »

I have no good experience with mingw, but do you have tried to compile the wxcommander under a real linux system?
In the past I have tried also to compile some programs with mingw under windows and I never get good results.

Christian
Logged
troels
Administrator
Full Member
*****
Posts: 125


WWW
Re: MinGW problem
« Reply #2 on: August 05, 2007, 01:17:59 pm »

I've compiled parts of wxc on Ubuntu. Other parts are causing some headache.
I'm taking a simpler wx app first, trying to get this to run well on Linux, using Codeblocks on AndLinux.
I'll get back to wxc soon.

Regards
Troels

Edit:
Almost all of wxc is running on Linux since long ago. But the Linux alpha is still in need of much attention.
« Last Edit: May 12, 2009, 09:40:50 am by troels » Logged

troels
Administrator
Full Member
*****
Posts: 125


WWW
Re: MinGW problem
« Reply #3 on: May 12, 2009, 09:45:39 am »

wxCommander...compiles and links with MinGW 3.4.5 too, but the resulting executable doesn't do anything, it silently stops immediately Sad

[2 ½ years later]
Accidentially I've left a defunkt main implementation in some long-forgotten module.
The MinGW linker then picked the wrong main entry function :-(
It was plain too see with gdb in Code::Blocks (most recent CB nightly - I don't think older versions would show errors during startup this well).
Finally, after removing the defunkt main function, wxc is compiling, linking and running using MinGW.

Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP wxCommander Forum | Powered by SMF 1.0.8.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!