|
|
Re: HelloWorld stopped working [message #713075 is a reply to message #698152] |
Mon, 08 August 2011 04:25 |
isaac.noble Messages: 1 Registered: August 2011 |
Junior Member |
|
|
I am having the exact same problem. I installed eclipse indigo c++, installed mingw, msys, and gdb. I set the enviroment PATH variable to include both mingw and msys. I created the default hello world program built it successfully, but when I try to run it I get a windows message telling me the program has stopped working. I can debug the program within eclipse and it runs from the command line, just not when I run it without debugging in eclipse.
Eclipse Info:
Eclipse IDE for C/C++ Developers
Version: Indigo Release
Build id: 20110615-0604
Other Programs:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\zebra>g++ --version
g++ (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\zebra>gcc --version
gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\zebra>gdb --version
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
C:\Users\zebra>make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-msys
C:\Users\zebra>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02241 seconds