Sign in to follow this  

MinGW on windows 7 64

This topic is 2387 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I seem to be having problems running the executable for a project of mine. It compiles fine, and runs perfectly in xp compatibility mode, but in windows 7 64 bit it crashes. I have tried running it in gdb and get the following output.

[New thread 1736.0x12c4]
Error: dll starting at 0x77050000 not found.
Error: dll starting at 0x75ce0000 not found.
Error: dll starting at 0x77050000 not found.
Error: dll starting at 0x77170000 not found.
Error: dll starting at 0x320000 not found.
[New thread 1736.0x1028]
[New thread 1736.0x3f4]
Error: dll starting at 0x8030000 not found.
[New thread 1736.0x1338]
[New thread 1736.0x1100]
[New thread 1736.0x12f0]
[New thread 1736.0x360]
[New thread 1736.0x6cc]
[New thread 1736.0x1314]
[New thread 1736.0xfe8]
[New thread 1736.0xe9c]
[New thread 1736.0x184]
[New thread 1736.0x1218]
[New thread 1736.0xb20]
[New thread 1736.0x150]
[New thread 1736.0x119c]
[New thread 1736.0xdb4]
[New thread 1736.0xdd4]
[New thread 1736.0x1198]
[New thread 1736.0x11fc]
[New thread 1736.0x380]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Program exited with code 03.

-------------------------------------------------------------------------------------------------------------------

I have found the following online which seem to be relevant:
I found this thread: [url="http://forums.codeblocks.org/index.php?topic=3286.0"]http://forums.codebl...hp?topic=3286.0[/url] which might be relevant.
and this one: [url="topic/549073-mingw-on-64-bit-windows/"]http://www.gamedev.n...64-bit-windows/[/url]


Its seems that the problem is that MinGW doesn't seem to produce -- even for a 32 bit executable -- code which is quite friendly with 64 bit windows, resulting in strange behavior. Unfortunately, I have not been able to find a way to fix/get around this besides running in xp compatibility mode (which is not really a desirable solution in the long term). Right now, i'm using the latest installer-ed version of Code::Blocks with MingW included in the installation. Any idea how to get around this weirdness?

Share this post


Link to post
Share on other sites
Updating to the latest version of MinGW (including gdb 7.2) resolves the dll problems, but I am left with the <lots of thread creations> and

warning: Invalid parameter passed to C runtime function.

warning: Invalid parameter passed to C runtime function.


Program exited with code 03.

unfortunately, it gives no indication of what that actually means. Will have to do more research

[edit] it also pops up a window "Microsoft Visual C++ Runtime Library" "This application has requested the runtime to terminate it in an unusual way"

Share this post


Link to post
Share on other sites

This topic is 2387 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this