Menu

cannot find `ld'

David
2011-02-06
2012-09-26
  • David

    David - 2011-02-06

    OS: Win7
    Version: 4.9.9.2

    I have been scouring the internet and forums for about an hour and continually
    get the same errors. I have checked my compiler directories and its still C
    :\Dev-Cpp\Bin. It was working earlier today i just restarted my computer and
    now i cant find the problem with it.

    Here is the compile log:
    Compiler: Default compiler
    Executing g++.exe...
    g++.exe "C:\Dev-Cpp\prog\hello.cpp" -o "C:\Dev-Cpp\prog\hello.exe" -I"C:\Dev-
    Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward"
    -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C
    :\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" -ld
    collect2: cannot find `ld'

    Execution terminated

    And it does it with all programs but here is a simple one:

    #include <iostream>
    
    int main()
    {
        std::cout << "Hello\n";
    
        system("pause");
        return 0;
    }
    
     
  • Steve A

    Steve A - 2011-02-16

    Please read the post titled:
    PLEASE READ BEFORE POSTING A QUESTION

    The latest release of Dev-C++ (4.9.9.4) dates back to 2005.
    Both Windows Vista and Windows-7 are newer than release 4.9.9.2.
    Colin LaPlace abandoned Dev-C++ after this release.

    Dev-C++ seems to work (with caveats) with Windows-XP.
    Dev-C++ is known to have problems with Windows Vista.
    I do not believe that Dev-C++ works with Windows-7.

    See:
    http://sourceforge.net/projects/dev-
    cpp/forums/forum/48211/topic/1693710

    regarding "Vista".

    Also Try: wxDev-C++
    http://wxdsgn.sourceforge.net/

     

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.