|
From: Andreas M. <and...@sb...> - 2005-10-17 14:13:19
|
Hallo, I try to build a small application that uses windows funtions that are not in the standard libs but are in the libs of the MS SDK. I did set the path to the libs and also the name of the lib I want to link with, but I get the following log Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Andreas\wtshost\Makefile.win" Führt make... aus make.exe -f "C:\Dev-Cpp\Andreas\wtshost\Makefile.win" all gcc.exe main.o -o "wtshost.exe" -L"C:/Dev-Cpp/lib" -L"C:/Programme/Microsoft Platform SDK/Lib/" -mwindows -l "C:/Programme/Microsoft Platform SDK/Lib/WtsApi32.Lib" C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lC:/Programme/Microsoft Platform SDK/Lib/WtsApi32.Lib collect2: ld returned 1 exit status make.exe: *** [wtshost.exe] Error 1 I am sure the path is OK. I tried with the -L phat and -lWtsApi32.Lib without the full path, but I get the same error. What's wrong in my projec tconfiguration ? Bye Andreas |