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. Here is the full cmake/nmake output: >cmake .. -- Configuring done -- Generating done -- Build files have been written to: C:/Documents and Settings/asimmons/My Documents/Development/sre/branches/cmake/build >nmake VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. "C:\Program Files\CMake 2.8\bin\cmake.exe" -H"C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake" -B"C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake\build" --check-build-system CMakeFiles\Makefile.cmake 0 "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_start "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake\build\CMakeFiles" "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake\build\CMakeFiles\progress.marks" "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f CMakeFiles\Makefile2 /nologo - all "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f CMakeFiles\sonic.dir\build.make /nologo -L CMakeFiles\sonic.dir\depend "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_depends "NMake Makefiles" "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake" "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake" "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake\build" "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmake\build" "C:\Documents and Settings\asimmons\My Documents\Development\sre\branches\cmak e\build\CMakeFiles\sonic.dir\DependInfo.cmake" --color= "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f CMakeFiles\sonic.dir\build.make /nologo -L CMakeFiles\sonic.dir\build Linking CXX static library sonic.lib "C:\Program Files\CMake 2.8\bin\cmake.exe" -P CMakeFiles\sonic.dir\cmake_clean_target.cmake C:\strawberry\c\bin\ld.exe /lib /nologo /out:sonic.lib @CMakeFiles\sonic.dir\objects1.rsp The system cannot find the path specified. NMAKE : fatal error U1077: 'C:\strawberry\c\bin\ld.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. > _______________________________________________ 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