Jump to content

strange error in Dev C++

- - - - -

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

#1
shadowhound

shadowhound

    Learning Programmer

  • Members
  • PipPipPip
  • 30 posts
im starting learning C++ and doesent matter which way i write hello world i always get the same error and i don't understand why

  [Linker error] undefined reference to `__cpu_features_init' 

and im only making an Hello work consol app

 #include <cstdlib>
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello World" << endl;
    
    return 0;
}


#2
shadowhound

shadowhound

    Learning Programmer

  • Members
  • PipPipPip
  • 30 posts
I figured it out its because i installed minGW

if thats instaslled along with Dev C++ then it will give u an error so i figured it out