Andreas Pakulat wrote: > On 04.03.10 17:27:56, Simmons, Aaron wrote: >> You're right-- msvc uses "link"; I was thinking of gcc's "ld". I guess >> the question is why is it trying to use "ld" at all? Cmake successfully >> detects that its using msvc/nmake, as it compiles all of the .c files >> with "cl". It's the lib-linking step that falls down. >> >> Here is my "set" output: > > Hmm, can't see anything suspicious. What's in the cmake cache? Is the > ld.exe mentioned there?
Perhaps, Aaron's problem is caused by some commands hardcoded in CMake files. ld.exe looks to me as MinGW (or Cygwin) utility And, perhaps, the CMake configuration assumes that Windows build is done using MinGW. Best regards, -- Mateusz Loskot http://mateusz.loskot.net _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake