Compilation error
Hi all,
I got this error message at 67% Yade compilation on Debian 10. The code was modified from trunk sometimes ago, but earlier the same code was able to be installed on Ubuntu 16.04.
Here is the error:
[ 65%] Building CXX object CMakeFiles/
In file included from /usr/lib/
/usr/lib/
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
[ 66%] Building CXX object CMakeFiles/
[ 66%] Building CXX object CMakeFiles/
In file included from /home/mohammay/
/home/mohammay/
/home/mohammay/
/home/mohammay/
Vh = Tri->move_point ( vertexHandles[id], Sphere ( Point ( x,y,z ),pow ( rad,2 ) ) );
Bare_point
[ 67%] Building CXX object CMakeFiles/
In file included from /usr/lib/
/usr/lib/
_import_
^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/
make: *** [Makefile:130: all] Error 2
Here is the cmake information:
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.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: /usr/bin/python (found version "2.7.16")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
qmake: could not exec '/usr/lib/
-- Found unsuitable Qt version "" from NOTFOUND
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Version is set to Unknown
CMake Warning (dev) at /usr/share/
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_
and GLVND libraries for OpenGL and GLX:
OPENGL_
OPENGL_
OpenGL_
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:41 (INCLUDE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OpenGL: /usr/lib/
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib/
-- Found CGAL: /usr/include, /usr/lib/
-- Found NumPy: version "1.16.2" /usr/lib/
-- Found Loki: /usr/include
-- GCC Version >= 4.8. Adding -ftrack-
-- GCC Version >= 4.8. Adding -save-temps
-- GCC Version >= 4.9. Adding -fstack-
-- 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.67.0
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- chrono
-- atomic
-- Boost_VERSION: 106700
-- Boost_LIB_VERSION: 1_67
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found BZip2: /usr/lib/
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /usr/lib/
-- Found PythonLibs: /usr/lib/
-- Found Eigen3, version: 3.3.7
-- Disable vectorization
-- The imported target "vtkRenderingPy
"/usr/
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/
but not all the files it references.
-- Found VTK
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Found GTS
-- Found GLUT: /usr/lib/
-- USE QT5
-- Found QGLVIEWER-qt5: /usr/include/
-- Found GUI-Qt5-LIBS
-- GMP libs: /usr/lib/
-- Found GMP: /usr/include/
-- GMP libs: /usr/lib/
-- Found CGAL
-- SuiteSparse version 5.4.0 found, CHOLMOD direct solver for CPU activated.
-- Found Cholmod: /usr/lib/
-- Found OpenBlas: /usr/lib/
-- Found Metis: /usr/include
-- Found Cholmod in /usr/lib/
-- Found OpenBlas in /usr/lib/
-- Found Metis in /usr/lib/
-- Found GL2PS
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /home/mohammay/
-- Suffix is set to -Unknown
-- LIBRARY_OUTPUT_PATH is set to lib/x86_
-- runtimePREFIX is set to /home/mohammay/
-- Found gts: /usr/lib/
-- Use system gts version
-- Found minieigen: /usr/lib/
-- Found Tkinter: /usr/lib/
-- VTK version >5 is found
-- =======
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI-Qt5 CGAL PFVFLOW TWOPHASEFLOW LINSOLV GL2PS LBMFLOW
-- Disabled features: CHOLMOD_GPU SPH DEFORM LIQMIGRATION MASK_ARBITRARY PROFILING PotentialParticles PotentialBlocks
-- Optimized build
-- =======
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mohammay/
Any ideas what's wrong? is it related to VTK?
Thank you!
Lingran
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: