[CMake] strange error: "The system cannot find the path specified."

Alexander Ivash alexander.ivash at psa-software.com
Thu Apr 12 12:17:25 EDT 2007


Hello, cmake.

I have cmakelists.txt which contain something like the following:

project(myLib)
add_library(myLib ...)
subdirs(examples)

....

From this project I generate msvs2005 solution and unix-makefile for
"diab" cross-compiler. When I build msvs2005 solution - all is ok, but
for diab makefile I see the only myLib compiles. Here is a part of
output:

make[2]: Entering directory `D:/projects/myLib/build/eclipse/diab'
Linking CXX executable testSimplePainting.out
cd D:/projects/myLib/build/eclipse/diab/tests/unittests/Painting && D:/Cmak
e/bin/cmake.exe -P CMakeFiles/testSimplePainting.dir/cmake_clean_target.cmake
The system cannot find the path specified.
make[2]: *** [tests/unittests/Painting/testSimplePainting.out] Error 1
make[2]: Leaving directory `D:/projects/myLib/build/eclipse/diab'
make[1]: *** [tests/unittests/Painting/CMakeFiles/testSimplePainting.dir/all] Er
ror 2
make[1]: Leaving directory `D:/projects/myLib/build/eclipse/diab'
make: *** [all] Error 2

Where I am wrong ?

-- 
Best regards,
 Alexander                          mailto:alexander.ivash at psa-software.com



More information about the CMake mailing list