Home › Forum › SOFA › Getting Started › CMake-gui error
Tagged: 64_bits, SOFA_1712, Windows_10
- This topic has 4 replies, 4 voices, and was last updated 6 years, 8 months ago by Guillaume.
-
AuthorPosts
-
6 April 2018 at 17:27 #10763vacuumBlocked
I downloaded all the pre-requisite program and I;d like to generate the makefile with Cmake-gui, it doesn’t work, though.
I wrote down the message when I pressed the config button.
In short, It cannot find Metis_DIR, MiniFlowVR_DIR, SofaPython_DIR, SofaSphFluid_DIR files.Also, it cannot find the path of the boost libraries, it doesn’t work when I made the new entry [BOOST_ROOT]. I don’t think it is the version problem or the directory path.
Please let me know how to solve this problem 🙁
-----------------------------config message--------------------------------- Selecting Windows SDK version to target Windows 10.0.16299. CMake Deprecation Warning at CMakeLists.txt:19 (cmake_policy): The OLD behavior for policy CMP0015 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:21 (cmake_policy): The OLD behavior for policy CMP0039 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy): The OLD behavior for policy CMP0043 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:25 (cmake_policy): The OLD behavior for policy CMP0054 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Install prefix: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/install CMake Error at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:1313 (file): file STRINGS file "D:/boost/boost_1_66_0/boost/version.hpp" cannot be read. Call Stack (most recent call first): CMakeLists.txt:99 (find_package) Did not find a boost directory from Boost_LIBRARY_DIR and Boost_INCLUDE_DIR, will try to search one in possible directories Found boost includes at D:/boost_1_66_0 Boost libraries were not found automatically, please set Boost_LIBRARY_DIR. Boost version: 1.66.0 CMake Error at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:2044 (message): Unable to find the requested Boost libraries. Boost version: 1.66.0 Boost include path: D:/boost_1_66_0 Could not find the following Boost libraries: boost_system boost_filesystem boost_locale boost_program_options Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): SofaKernel/SofaFramework/CMakeLists.txt:126 (find_package) SofaSparseSolver: metis was not found, SparseLDLSolver won't be built SofaSparseSolver: csparse was found, SparseLUSolver and SparseCholeskySolver will be built QGLViewer: Using Qt5 SofaGUIQt: Using Qt5 Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/back.png Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/back.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/graphicon.ico Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/home.png Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/home.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/icondata.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/iconerror.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/iconinfo.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/iconmultinode.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/iconnode.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/iconsleep.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/iconwarning.xpm Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/SofaGui/SofaGuiQt/../../share/sofa/gui/qt/resources/icons/openFile.png 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 Modeler Modeler executable: Using Qt5 Modeler library: Using Qt5 Adding Application runSofa Write Plugin list at C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/bin/plugin_list.conf.default Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/applications/projects/runSofa/../../../share/sofa/gui/runSofa/resources Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/applications/projects/runSofa/../../../share/sofa/gui/runSofa/resources/docs Up-to-date: C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/applications/projects/runSofa/../../../share/sofa/gui/runSofa/resources/docs/runsofa.html Configuring incomplete, errors occurred! See also "C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/CMakeFiles/CMakeOutput.log". See also "C:/Users/vacuum09/AppData/Roaming/SPB_Data/MyProject/sofa/master/src/build/CMakeFiles/CMakeError.log".
6 April 2018 at 17:35 #10764HugoKeymasterHi @vaccum09
Have you properly followed the instructions for Windows?
You are using the v17.12 source release, right ?
Hugo
8 April 2018 at 12:44 #10765vacuumBlockedHi @Hugo
Yes, I followed the instructions, and I’m using the v17.12
I thought there were some missed folders and files in verson 17.12, I made two branches the master and v17.12 and installed both of them, but it wasn’t helpful.
It drives me crazy I literally did as the guide but it doesn’t work.9 April 2018 at 08:18 #10766rTorresBlockedHello,
I was configuring and generating the same some days before. I send you what I used into Boost params.
Boost_Include_dir –> C:/local/boost_1_64_0
Boost_Library_DIR_DEBUG –> C:/local/boost_1_64_0/lib32-msvc-14.1
Boost_Library_DIR_RELEASE –> C:/local/boost_1_64_0/lib32-msvc-14.1I download boost “boost_1_64_0-msvc-14.1-32.exe” from the link suggested in SOFA https://sourceforge.net/projects/boost/files/boost-binaries/
It is very important that boost name libraries has a specific format, I found that some boost libraries had included in the name “x32” tag and this did not work for me, then I download again other boost library “boost_1_64_0-msvc-14.1-32.exe” and this works for me!
Good luck!
9 April 2018 at 10:09 #10767GuillaumeKeymasterHi,
Could you check you did set
BOOST_ROOT=D:/boost_1_66_0
?
It seems there is aD:/boost/boost_1_66_0
value somewhere missing the configuration.Please copy/paste your CMakeCache.txt here 🙂
Guillaume.
-
AuthorPosts
- You must be logged in to reply to this topic.