Jump to content

Dev-C++ not compiling?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Phoenixz

Phoenixz

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 256 posts
For some reason I can't get dev-c++ to compile with anything written in C++. I went even for a simple hello world;

#include <iostream>

using namespace std;

int main()

{
            cout << "Hello World!" << endl;
            return 0;
}

Perhaps there is somethign wrong and I don't see it but... =/

[Linker error] undefined reference to `__cpu_features_init'
ld returned 1 exit status
Posted Image

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Suggestion: upgrade to wxDev-C++. It uses a more recent version of MinGW.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog