[CMake] windows link error
Mateusz Loskot
mateusz at loskot.net
Thu Mar 4 17:49:33 EST 2010
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
More information about the CMake
mailing list