Hello people, dev-cpp doesn't compile and run any project. As a example, I
want to compile and run the basic hello world project:
using namespace std;
int main (int argc, char *argv)
cout << "Hello World!" << endl;
cout << "Press ENTER to continue..." << endl;
The compiler registry shows:
Compiler: Default compiler
Building Makefile: "C:\C++\Makefile.win"
make.exe -f "C:\C++\Makefile.win" all
g++.exe hello_0.o -o "Hello_0.exe" -L"C:/Dev-Cpp/lib"
/mingw/lib/crt2.o(.text+0x28):crt1.c: undefined reference to
/mingw/lib/crt2.o(.text+0x5c):crt1.c: undefined reference to__cpu_features_init'
collect2: ld returned 1 exit status
make.exe: *** Error 1
/mingw/lib/crt2.o(.text+0x5c):crt1.c: undefined reference to
I tried many times (including uninstalling and reinstalling the program) but
Is there a fix for this problem?
Dev-Cpp version 220.127.116.11
OS: Windows XP Home Edition SP3
I'm having the same problem. A simple "Hello World" code sent me this message:
Id returned 1 exit status
I did some more searching and found out this error was hidden:
Failed to set data for "
I am waiting for someone to help me as well,
I will be watching your post, good luck
Please read the post titled:
PLEASE READ BEFORE POSTING A QUESTION
The latest release of Dev-C++ (18.104.22.168) dates back to 2005.
Both Windows Vista and Windows-7 are newer than release 22.214.171.124.
Colin LaPlace abandoned Dev-C++ after this release.
Dev-C++ seems to work (with caveats) with Windows-XP.
Dev-C++ is known to have problems with Windows Vista.
I do not believe that Dev-C++ works with Windows-7.
If you are experiencing problems compileing using Win-XP or newer, I'd
consider switching compilers to Code::Blocks w/MinGW or Visual Studio Express.
Also Try: wxDev-C++
If you are a student learning C/C++:
(not Dev-C++ related)
For all C++ developpers, please use the latest version on MinGW/Cygwin on
Netbeans or the Visual C++ compiler on Visual Studio.
For sarbayo: thanks for the observation, but I'd like (without offending) you
see carefully the compiler registry.
I also tried to change to wxDev-C++, but it didn't work.
In the case of code::blocks, I'd like to install but I can't due to the
possible compiler corruption (I mean, that in code::blocks happens the same
thing as in Dev-C++).
Try to dev-c-126.96.36.199
It works even in windows 7 (32/64bit)
can download on the address bellow:
Dev-C++ version 188.8.131.52 has been released a few days ago, you can giveit a