[Cmake] Could not find CMAKE_ROOT !!!

Bill Hoffman bill . hoffman at kitware . com
Tue, 03 Jun 2003 15:33:15 -0400


I would strongly recommend that you use the pre-compiled binaries for CMake
on windows.    Is there a reason that you need the cvs version?

CMake needs more than just the executable to run, so to create your
own binary you would have to make sure the directory structure looks like
the binary release, or the source directory still exists on the machine
that it is run on.   (Currently there is no make install for windows.)


The directory should be something like this:
./bin/ - all executables cmake, CMakeSetup, ctest, cmw9xcom.exe
./include/cmCPluginAPI.h
./Modules/  - the modules directory
./Templates  - the templates directory


At 03:16 PM 6/3/2003, Bitter, Ingmar (NIH/CC/DRD) wrote:
>Hi,
>
>I get a "Could not find CMAKE_ROOT !!!" popup message when trying to run
>CMakeSetup using the following .bat file:
>
>cd "C:\cvs\bezier\apps\CMake\bin\Source\Release\"
>C:\cvs\bezier\apps\CMake\bin\Source\Release\CMakeSetup.exe_C:/cvs/bezier/app
>sNih/ctccad/build/CMakeLists.txt
>
>("_" above is actually a space, I put it to indicate that both are on the
>same line)
>
>I have build CMake in a different directory and now wanted to check CMake
>into our local cvs and have the already compiled version be available for
>everybody in my team.  However, checking out to a directory called
>C:/cvs/.../CMake apparently did not work as smooth as hoped.  It looks as if
>the problem can be solved by defining the CMAKE_ROOT variable.
>Where + how would I do that ?
>
>-Ingmar
>_______________________________________________
>Cmake mailing list
>Cmake at public . kitware . com
>http://public . kitware . com/mailman/listinfo/cmake