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 strawberry perl
> confuse cmake?

If CMake recreated the cache each time, it wouldn't be much of a cache
now would it :)?

Semi-educated guess: CMake was looking for things that looked like
linkers in your PATH. For whatever reason (running CMake from an
environment where that magic Visual Studio .bat file hadn't been sourced
and thus your environment was incomplete), it didn't find the VS linker
so it kept looking and found something called ld.exe in your PATH.

It's hard to say whether this is a bug because we don't know anything
about your environment. If you can reproduce this problem, I'm sure the
experts would like to see it. But if all you have a is a CMake binary
directory of unknown age and origin, that's not so helpful.

tyler
_______________________________________________
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

Reply via email to