Executable terminates on launch [message #910128] |
Sat, 08 September 2012 19:14 |
Shoop Dawoop Messages: 4 Registered: September 2012 |
Junior Member |
|
|
I've done a lot of searching for a solution to this, but nothing I've tried so far has worked. I'm writing a C++ application on Win7 x64, it builds fine from within Eclipse but won't run from within it(it immediately gives me a status of <terminated>. It does, however, run perfectly fine from GUI/cmd, so I know it's not the code misbehaving. It was working 100% fine before and just started acting this was a few days ago, so I don't know what project parameters might have changed. Based on my searching I've tried:
Setting environment variables...
-in the system settings (which already contained C:\MinGW\bin, but i took it down and put it back in)
-in the Eclipse rpeferences
-in the project preferences (while I was testing things out, this was the way that made a new hello world project I generated from the menu run)
...and adding "-static" to the linker parameters. Still no dice. This is pretty irritating, having to launch the executable from outside every time, but would be bearable if not for the fact that the debugger is also not working.
Any help is appreciated.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03208 seconds