Thread: Bloodshed Dev Stops Compiling

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    127

    Question Bloodshed Dev Stops Compiling

    Hi,

    A while ago I bought a book about programming C++ and downloaded the Bloodshed Dev-C++ program to compile the programs out of it. Everything worked fine until recently, when I installed MS Visual Studio Express. Now whenever I try to compile anything in Bloodshed it gives me the following errors:

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

    I know there's nothing wrong with the code because it worked before. So anyone know what the problem is here? BTW I have tried re-installing Bloodshed, it didn't make any difference.

    Cheers.

  2. #2
    Registered Abuser
    Join Date
    Sep 2007
    Location
    USA/NJ/TRENTON
    Posts
    127
    I'm no expert on the subject, but perhaps your PATH variable is having a conflict?

  3. #3
    3rd Week In C++ SRS's Avatar
    Join Date
    Nov 2007
    Posts
    22

    Very Odd

    Quote Originally Posted by bengreenwood View Post
    Hi,

    A while ago I bought a book about programming C++ and downloaded the Bloodshed Dev-C++ program to compile the programs out of it. Everything worked fine until recently, when I installed MS Visual Studio Express. Now whenever I try to compile anything in Bloodshed it gives me the following errors:

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

    I know there's nothing wrong with the code because it worked before. So anyone know what the problem is here? BTW I have tried re-installing Bloodshed, it didn't make any difference.

    Cheers.

    I too installed Dev-C++ first (first an older version, and then the newest beta version shown in my signature), and later installed Visual Express and can use either one now with no problems. Using AMD 64 and win xp pro
    Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2

  4. #4
    Registered Abuser
    Join Date
    Sep 2007
    Location
    USA/NJ/TRENTON
    Posts
    127
    are you trying to use your project files (.dev) files in MSVS?

    That might give you that error.

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    127
    Nope, just trying to compile the same cpp files I compiled before I installed VS.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. Compiler Stops Compiling
    By tyler4588 in forum C++ Programming
    Replies: 8
    Last Post: 08-02-2003, 10:20 PM
  3. Sleep on Bloodshed Dev C++
    By BigSter in forum C++ Programming
    Replies: 3
    Last Post: 11-15-2001, 10:17 AM
  4. Wait on Bloodshed Dev C++
    By BigSter in forum C++ Programming
    Replies: 1
    Last Post: 11-14-2001, 03:46 AM
  5. Tutorial about Bloodshed Dev!
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 07:42 PM