← Back to team overview

yade-users team mailing list archive

[Question #682120]: Installation YADE, Source Code, Compilation

 

New question #682120 on Yade:
https://answers.launchpad.net/yade/+question/682120

Hi folks,
I'm very new with YADE and linux and have a problem with installation of YADE source code on my Ubuntu 18 which has been installed on VMware software (my host windows is windows 10).
I've wen through installation instruction linke below

https://yade-dem.org/doc/installation.html

I hope i've done everything correcty by now, I have no idea about "Compilation" section. From the very frist sentence, does it mean to creat new folders like myYade, and 3 others inside it or it has another meaning? Even about the "cmake" commands, I don't know what are those clearly since I'm pretty new in Linux.

The thing I do is that, I use "cd ......./trunk" and then try to use CMake commands like "cmake -DCMAKE_INSTALL_PREFIX=........./myYade/build" the problem is I get the following Error:

-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.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
-- Version is set to 2019-07-08.git-e27605e
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0
-- GCC Version >= 4.8. Adding -save-temps
-- GCC Version >= 4.9. Adding -fstack-protector-strong
Loop on the following python versions and check available dependencies:3.8;3.7;3.6;3.5;3.4;3.3;3.2;3.1;3.0;2.7;2.6
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.8")
Python version 3.6.8 found, try to import dependencies...
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message):
  No header defined for python-py36; skipping header check
Call Stack (most recent call first):
  cMake/YadePythonHelpers.cmake:62 (FIND_PACKAGE)
  CMakeLists.txt:179 (FIND_PYTHON_PACKAGES)

Failed to import dependencies for Python version 3.6.8. NOT FOUND:numpy
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.15")
Python version 2.7.15 found, try to import dependencies...
-- Found NumPy: version "1.16.4" /usr/local/lib/python2.7/dist-packages/numpy/core/include
-- Found IPython: /usr/lib/python2.7/dist-packages/IPython
-- Could NOT find matplotlib (missing: PY_matplotlib)
Failed to import dependencies for Python version 2.7.15. NOT FOUND:matplotlib
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
CMake Error at CMakeLists.txt:188 (MESSAGE):
  No python version with all dependencies was found.

-- Configuring incomplete, errors occurred!
See also "/home/ehsan/trunk/CMakeFiles/CMakeOutput.log".
See also "/home/ehsan/trunk/CMakeFiles/CMakeError.log".

What should I do?

Thanks for you help

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