ExternalProject_Add problem
Hi,
I use ExternalProject_Add in my project to download and build requirements. I've attached several cmake modules with ExternalProject_Add.
When building project with CLion I get the following error log. While building in console or with QtCreator works fine. I've checked MD5 of files cmake tries to download and it is fine, CLion doesn't download files correctly for some reason. I've tried to remove downloaded files, but it still doesn't download correctly.
[ 26%] Performing download step (download, verify and extract) for 'Freenect'
-- downloading...
src='https://github.com/OpenKinect/libfreenect/archive/v0.3.0.zip'
dst='/home/dikobraz/.clion10/system/cmake/generated/9a2d255/9a2d255/Debug/Freenect/src/v0.3.0.zip'
timeout='none'
CMake Error at /home/dikobraz/.clion10/system/cmake/generated/9a2d255/9a2d255/Debug/Freenect/src/Freenect-stamp/download-Freenect.cmake:9 (file):
file DOWNLOAD HASH mismatch
for file: [/home/dikobraz/.clion10/system/cmake/generated/9a2d255/9a2d255/Debug/Freenect/src/v0.3.0.zip]
expected hash: [d92e71a5305114ce562355e10a8c4efb]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
make[3]: *** [Freenect/src/Freenect-stamp/Freenect-download] Error 1
make[2]: *** [CMakeFiles/Freenect.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
-- [download 100% complete]
CMake Error at /home/dikobraz/.clion10/system/cmake/generated/9a2d255/9a2d255/Debug/Eigen/src/Eigen-stamp/download-Eigen.cmake:9 (file):
file DOWNLOAD HASH mismatch
for file: [/home/dikobraz/.clion10/system/cmake/generated/9a2d255/9a2d255/Debug/Eigen/src/3.2.0.zip]
expected hash: [f51f50612c6717b7191dff64db65fc8f]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
make[3]: *** [Eigen/src/Eigen-stamp/Eigen-download] Error 1
make[2]: *** [CMakeFiles/Eigen.dir/all] Error 2
make[1]: *** [demos/painter/CMakeFiles/painter.dir/rule] Error 2
make: *** [painter] Error 2
Attachment(s):
ConfigureFreenect.cmake.zip
ConfigureEigen.cmake.zip
Please sign in to leave a comment.
I've attached your description to the appropriate issue: http://youtrack.jetbrains.com/issue/CPP-252
Feel free to provide more detailed descrition, add comments or vote.