[CMake] CMake Error: The source directory "./build/CMakeFiles/CMakeTmp" does not exist.
Bill Hoffman
bill.hoffman at kitware.com
Tue Sep 23 16:34:49 EDT 2008
Roger Martin wrote:
> Hi,
>
> I'm trying to build a build with cmake-2.6.1-win32-x86 CMakeSetup for
> "Visual Studio 9 2008 Win64" as the build target.
>
> Keep getting a
> ---------------------------
>
> CMake Error: The source directory "./build/CMakeFiles/CMakeTmp" does not
> exist.
> Specify --help for usage, or press the help button on the CMake GUI.
>
> ---------------------------
>
> but when I look, the directory is there; it does exist. Got the nightly
> build to see what could be the problem or if the issue has already been
> caught and fixed. Yet get the same issue trying to setup the build for
> cmake [Was also going to try to compile cmake for 64 bit machines].
>
> The project root is ./ and the build folder is ./build.
>
>
Could this be some sort of path length issue? What is "."?
Also, can you build a very simple project:
c:/foo/CMakeLists.txt
add_library(foo foo.c)
Run CMakeSetup and set source to c:/foo and build to c:/foo/build.
-Bill
More information about the CMake
mailing list