yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15138
Re: [Question #643703]: Installation on centOS7 (loki pb)
Question #643703 on Yade changed:
https://answers.launchpad.net/yade/+question/643703
Cédric posted a new comment:
In "trunk/cMake/FindLoki.cmake", I did that:
"
#FIND_PATH(LOKI_INCLUDE_DIR /home/myUserName/Downloads/loki-0.1.7/include/loki/Typelist.h)
#FIND_LIBRARY(LOKI_LIBRARY NAMES /usr/lib/libloki.so.0.1.7 )
set(LOKI_INCLUDE_DIR "/home/myUserName/Downloads/loki-0.1.7/include/loki")
set(LOKI_LIBRARY "/usr/lib/libloki.so.0.1.7")
"
Yes, I compiled the lib from ./Downloads/, it looks like a quite dirty
practice :)
Now, cmake does not complain about loki but about eigen3, this is also a difficult library to find I believe.
"
-- Version is set to 2017.01a
-- GSL using pkgconfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- PKGCONFIG() indicates that gts is not installed (install the package which contains gts.pc if you want to support this feature)
FindGTS.cmake: gts-config/pkg-config gts not found. Please set it manually. GTS_CONFIG=GTS_CONFIG-NOTFOUND
-- ERROR: GTS was not found.
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- CGAL not found.
-- Found Loki: /home/crenzi-centOS/Downloads/loki-0.1.7/include/loki
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- Boost_VERSION: 105300
-- Boost_LIB_VERSION: 1_53
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib64/libboost_python-mt.so/usr/lib64/libboost_thread-mt.so/usr/lib64/libboost_filesystem-mt.so/usr/lib64/libboost_iostreams-mt.so/usr/lib64/libboost_regex-mt.so/usr/lib64/libboost_serialization-mt.so/usr/lib64/libboost_system-mt.so/usr/lib64/libboost_date_time-mt.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
(Required is at least version "2.91.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cMake/FindEigen3.cmake:76 (find_package_handle_standard_args)
CMakeLists.txt:107 (FIND_PACKAGE)
"
Thanks you Anton and Deepak, I will try to tackle the same way the
eigen3 lib.
You received this question notification because your team yade-users is
an answer contact for Yade.