← Back to team overview

yade-users team mailing list archive

Re: [Question #678139]: installing Yade on ubuntu 18.04

 

Question #678139 on Yade changed:
https://answers.launchpad.net/yade/+question/678139

    Status: Needs information => Open

Miguel David Valencia Galindo gave more information on the question:
Hi Robert.
I am following the source code section. I have followed the instructions there. When I tried to get the packages from the repository I got an error that said "There are no sources for bionic", so I installed all the packages by my self. When I run the cmake command line I get this error in he terminal.

cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk-2018.02b/
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/mdvg/anaconda3/bin/python (found version "3.7") 
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Found unsuitable Qt version "5.9.6" from /home/mdvg/anaconda3/bin/qmake
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Version is set to 2018.02b
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib/x86_64-linux-gnu/libgl2ps.so  
-- Found CGAL: /usr/include, /usr/lib/x86_64-linux-gnu/libCGAL.so
-- Found NumPy: version "1.15.1" /home/mdvg/anaconda3/lib/python3.7/site-packages/numpy/core/include
-- Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) 
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps
-- GCC Version >= 4.9. Adding -fstack-protector-strong
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
--   thread
--   filesystem
--   iostreams
--   regex
--   serialization
--   system
--   date_time
--   chrono
--   atomic
--   Boost_VERSION: 106501
--   Boost_LIB_VERSION: 1_65_1
--   Boost_INCLUDE_DIRS: /usr/include
--   Boost_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so/usr/lib/x86_64-linux-gnu/libboost_thread.so/usr/lib/x86_64-linux-gnu/libboost_filesystem.so/usr/lib/x86_64-linux-gnu/libboost_iostreams.so/usr/lib/x86_64-linux-gnu/libboost_regex.so/usr/lib/x86_64-linux-gnu/libboost_serialization.so/usr/lib/x86_64-linux-gnu/libboost_system.so/usr/lib/x86_64-linux-gnu/libboost_date_time.so/usr/lib/x86_64-linux-gnu/libboost_chrono.so/usr/lib/x86_64-linux-gnu/libboost_atomic.so/usr/lib/x86_64-linux-gnu/libpthread.so
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:108 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/mdvg/YADE/build/CMakeFiles/CMakeOutput.log".
See also "/home/mdvg/YADE/build/CMakeFiles/CMakeError.log".

You received this question notification because your team yade-users is
an answer contact for Yade.