Menu

Dev.c++ help build error linker error?

Makachu
2007-08-24
2012-09-26
  • Makachu

    Makachu - 2007-08-24

    i keep getting these errors whenever i try to compile and run something

    [Linker error] undefined reference to `__cpu_features_init'
    ld returned 1 exit status
    C:\Dev-Cpp\My Projects\Makefile.win [Build Error] [Test.exe] Error 1

    i doesnt matter how simple or complex the project is it i get this message.
    no errors in the program its all perfect but i get that above message.

    im using bloodshed 4.9.9.2 on a gateway media center.
    no idea why im having problems

    i tried complex programs i found online to the simple "Hello world" program and i always get that.

    im just a beginner to c++ but we use dev.c++ at school so i want to get it working on my computer.

    any suggestiongs please help

     
    • Makachu

      Makachu - 2007-08-24

      Ok im good now. thanks i had to run through the long un-installation progress but its working good now.
      its amazing finally being able to make programs. a dream ive had for 3 years now is finally being completed

       
    • Wayne Keen

      Wayne Keen - 2007-08-24

      A suggestion for fixing this error message is in the thread in this forum titled
      "Please Read Before Posting a Question"

      In addition, it is a bad idea to:

      (1) Put your project in a path with spaces in it, like this one:

      C:\Dev-Cpp\My Projects

      and, as Clifford has pointed out a number of times, intermittent errors
      seem to come from storing your project in s sub-folder of "My Documents"

      I keep my stuff in

      c:\mycstuff

      Wayne

       
    • Anonymous

      Anonymous - 2007-08-24

      I think you meant: "Intermittent errors seem to come from storing your project in a sub-folder of 'c:\dev-cpp'"

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.