2012/4/20 Andrea Crotti <andrea.crott...@gmail.com>: > On 04/19/2012 07:00 PM, Eric Noulard wrote: >> >> Compiler, Visual Studio something? >> You run cpack from the command line or from within IDE/Makefile etc.... >> > > No compilers used for this project (it's python) and I run from command > line. > > Anyway it might be a good idea also in general so I tried to do it and it > doesn't find a path, > but the error is not quite clear, what path is it talking about (because all > I see there exists)? > > > c:/temp $ cmake -G "MSYS Makefiles" > e:/git_projs/Minimum_Drag/xyz.application.minimum_drag > -- PSI found in e:/git_projs/PSI_Hamburg > -- workspace set to > e:/git_projs/Minimum_Drag/xyz.application.minimum_drag/../.. > -- copying the runner file with the right substitutions > -- running: c:/python25/python.exe > -p;e:/git_projs/Minimum_Drag/xyz.application.minimum_drag;-w;e:/git_projs/Minimum_Drag/xyz.application.minimum_drag/../.. > -- writing the list of dependencies to egg_list.txt > -- Configuring done > -- Generating done > -- Build files have been written to: C:/temp > c:/temp $ make xyz.application.minimum_drag_install > The system cannot find the path specified. > epd-make: *** [cmake_check_build_system] Error 1 > c:/temp $ make xyz.application.minimum_drag_install VERBOSE=1 > "/c/buildprograms/programs/CMake 2.8/bin/cmake.exe" > -H/e/git_projs/Minimum_Drag/xyz.application.minimum_drag -B/C/temp > --check-build-system CMakeFiles/Makefile.cmake 0 > The system cannot find the path specified. > epd-make: *** [cmake_check_build_system] Error 1
This looks as if it is a **make** error not a CMake one. Are you able build a simplistic project on this machine? (try one with which only does install(FILES somefile.txt DESTINATION .) ...) Is "xyz.application.minimum_drag_install" a custom target of yours? I did find trace of similar error here http://www.redantigua.com/msys-win.html in that case it seems that a bad mix of "make" command from MSYS or mingw32 or unxutil was the culprit. is the "epd-make" the one that comes with your MSYS install ? > PS. And in general I think it's a bit confusing the fact that I need to > remove manually the CMakeCache > from the source directory when I run out of tree.. > Couldn't CMake just discard that path when building out of tree? Nope, it would break backward compatibility, you can dig the ML for discussion about that "issue". My opinion is that building in-source is a bad habit that ought to be discouraged but the fact is, this is not currently easy to enforce out-of-source: http://www.cmake.org/Bug/view.php?id=6672 -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- 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