Hello programmers. =)
I'm trying to use Bloodshed's most recent Dev-C++ release (v. 4.9.9.2) to compile C++ programs that will run from Windows command prompt (MSDOS). However, I've been encountering an odd linker error, and I've been unable to find any references to it on the Web. Here is the code of my very simple test program:
#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return EXIT_SUCCESS;
}
This program compiles fine under the UNIX system we use for our C++ class. However, when I try to compile this code using Dev-C++, I'm given the following error:
[Linker error] undefined reference to `__cpu_features_init'
ld returned 1 exit status
I'm stumped. =/
Is there anyone who can explain this error to me and perhaps offer a solution?