I am trying to use cmake v2.8.0 on Windows XP to link a library. On Mac OS X
and Linux, it works. But on Windows I get a very strange error:
C:\strawberry\c\bin\ld.exe: /lib: No such file: No such file or
directory
The only thing I can think of is that this is some kind of reference
On 04.03.10 17:08:32, Simmons, Aaron wrote:
I am trying to use cmake v2.8.0 on Windows XP to link a library. On Mac OS X
and Linux, it works. But on Windows I get a very strange error:
C:\strawberry\c\bin\ld.exe: /lib: No such file: No such file or
directory
The only thing I can
To: cmake@cmake.org
Subject: Re: [CMake] windows link error
On 04.03.10 17:08:32, Simmons, Aaron wrote:
I am trying to use cmake v2.8.0 on Windows XP to link a library. On Mac OS X
and Linux, it works. But on Windows I get a very strange error:
C:\strawberry\c\bin\ld.exe: /lib: No such file
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
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
[mailto:cmake-boun...@cmake.org] On Behalf Of
Andreas Pakulat
Sent: Thursday, March 04, 2010 15:39
To: cmake@cmake.org
Subject: Re: [CMake] windows link error
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
On Thu, Mar 04, 2010 at 06:19:03PM -0500, Simmons, Aaron wrote:
Thanks-- the cmake cache is where the trouble is:
CMAKE_LINKER:FILEPATH=C:/strawberry/c/bin/ld.exe
I'm not sure where the bug is (if there is one). Should re-running
cmake recreate the cache? Why does the presence of