[CMake] MS VS 2005 nmake problem

Bill Hoffman bill.hoffman at kitware.com
Thu Jul 31 12:31:09 EDT 2008


dean.inglis at camris.ca wrote:
> Hi,
> 
> I am running CMake 2.6 on an XP machine with
> MS Visual Studio 2005 and am trying to compile
> VTK cvs from the Visual Studio 2005 command prompt.
> I am getting the following errors reported by
> CMake:
> 
> CMake Error at CMakeLists.txt:1005 (ADD_SUBDIRECTORY):
> add_subdirectory not given a binary directory but the given source directory "C:/C++/Source/VTK/GenericFiltering" is not a subdirectory of "c:/C++/Source/VTK".  When 
> specifying an out-of-tree source a binary directory
> must be explicitly specified.
> 
> 
> Any ideas what to do here?


Looks like a drive letter case issue....

Can you try RC 15 for 2.6.1 and see if it has been fixed?

http://www.cmake.org/files/v2.6/cmake-2.6.1-RC-15-win32-x86.exe

-Bill


More information about the CMake mailing list