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 think of is that this is some kind of reference to > "Strawberry Perl", which I don't even have installed. My project, btw, has > nothing to do with Pearl-- its C++. > > Why isn't it using the path to the MSVC ld? It does so for the cl tool.
MSVC has no ld, MSVC's compiler is "cl.exe", the linker is called "link.exe". So it looks like your environment is somehow strange. Can you post the output of set? Andreas -- You will lose your present job and have to become a door to door mayonnaise salesman. _______________________________________________ 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