- This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Getting Started › [SOLVED] Error in configuring Sofa
Hi !
I got the following error on CImgPlugin, Modeller, QT5 and runsofa, when i tried to configure sofa 17.06 on windows 8. I simply followed the steps as per below stated link and got the output via CMake 3.9.0.
————————————————————————–
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.
Install prefix: C:/sofa/build/install
Boost version: 1.59.0
Boost version: 1.59.0
Found the following Boost libraries:
system
filesystem
locale
thread
date_time
chrono
atomic
SofaSparseSolver: metis was not found, SparseLDLSolver won’t be built
SofaSparseSolver: csparse was found, SparseLUSolver and SparseCholeskySolver will be built
SofaTest: optional dependency SofaPython NOT found, Python_test won’t be built
Adding Plugin CImgPlugin
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
CImgPlugin: Did not find TIFF library
CImgPlugin: Did not find libjpeg library
CImgPlugin: Enable PNG Image Format
Adding Application Modeler
Modeler executable: Using Qt5
Modeler library: Using Qt5
Adding Application runSofa
Configuring done
————————————————————————–
An early response in that regard will be highly appreciated.
Hi Sohaiba,
This warning appears because SOFA relies on an OLD policy for link_directories
commands. More details about the CMP0015 policy here.
It should be fixed before the next release.
In the meantime, it will not interfere with your compilation so you can ignore it.
🙂
Cheers,
Guillaume
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.