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.
"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.
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.
"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