Menu

Cannot find ld

erick404
2007-09-19
2012-09-26
  • erick404

    erick404 - 2007-09-19

    So, I'm trying to work with a graphic interface, and after downloading GTK+ packages, I tried to compile an empty project to test it.
    I'm getting this single error about ld, here's the log:


    Compiler: Default compiler
    Building Makefile: "C:\Prog\Projects\Test GUI\Makefile.win"
    Executing make...
    make.exe -f "C:\Prog\Projects\Test GUI\Makefile.win" all
    g++.exe main.o -o "Test.exe" -L"C:/Dev-Cpp/lib" -mwindows -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0

    collect2: cannot find `ld'

    make.exe: *** [Test.exe] Error 1

    Execution terminated


    I'm using Dev-C++ 4.9.9.2 under windows.

     
    • Anonymous

      Anonymous - 2007-09-19

      "Test GUI" ... Don't use paths with spaces.

      >> I'm using Dev-C++ 4.9.9.2 under windows.

      Windows what!? We know its Windows Dev-C++ is a Windows program. There are special instructions for Vista in the "Read First" thread.

      ld.exe is the GNU linker. It should be in C:\dev-cpp\bin - worth a check.

      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.