9 November 2018 at 23 h 24 min #12356wowsofaParticipant
- University of Florida
I am trying to build the unstable version of SoFA since the Soft robotic plugin needed it.
However, I cannot configure the project with CMake 3.13.0-rc. I got the following error:
CMake Error at CMakeLists.txt:310 (include):
include could not find load file:
I would appreciate if anyone could help me out:)
Below is the entire CMake log:
Install prefix: C:/sofa_unstable/sofa/master/build/install Boost autodetection on Windows was removed. Please follow CMake documentation to find Boost on your system. Hint: set BOOST_ROOT to your Boost location. Boost version: 1.68.0 Boost version: 1.68.0 Found the following Boost libraries: system filesystem locale program_options thread date_time chrono atomic Cannot find any Qt libraries on your system, please set Qt5_DIR or Qt4_DIR if you want to compile GUIs using Qt Adding Module SofaSparseSolver -- metis was not found, SparseLDLSolver won't be built -- csparse was found, SparseLUSolver and SparseCholeskySolver will be built Adding Module SofaPreconditioner -- newmat was found. SofaTest: optional dependency SofaPython NOT found, Python_test won't be built Adding Plugin CImgPlugin CImgPlugin: TIFF Image Format enabled CImgPlugin: JPEG Image Format enabled CImgPlugin: PNG Image Format enabled Adding Plugin SofaMiscCollision SofaMiscModule: build all maintained sofa components. SofaMiscCollision: optional dependency SofaSphFluid not found de-activing: <SpatialGridPointModel> -- PSL is an experimental feature, use it at your own risk. Adding Plugin SofaAllCommonComponents Adding Application runSofa Write Plugin list at C:/sofa_unstable/sofa/master/build/bin/plugin_list.conf.default CMake Deprecation Warning at CMakeLists.txt:267 (message): Deprecated components are activated (SOFA_WITH_DEPRECATED_COMPONENTS variable is ON) CMake Error at CMakeLists.txt:310 (include): include could not find load file: CPackNSIS Configuring incomplete, errors occurred! See also "C:/sofa_unstable/sofa/master/build/CMakeFiles/CMakeOutput.log". See also "C:/sofa_unstable/sofa/master/build/CMakeFiles/CMakeError.log".15 November 2018 at 10 h 14 min #12480GuillaumeKeymaster
- SOFA Consortium
Thank you for the bug report, I will investigate here. Looks like CMake 3.13 does not like including CPack generators.
Could you tell me if commenting out this line fixes the problem?
Guillaume.15 November 2018 at 18 h 58 min #12495wowsofaParticipant
- University of Florida
It compiled successfully after commented out
Now I haven’t met any problem.
I really appreciate your help!15 November 2018 at 19 h 08 min #12496
- You must be logged in to reply to this topic.