yade -DDEBUG=True run error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Fix Released
|
Low
|
Unassigned |
Bug Description
I install yade from trunk with -DDEBUG=ON (my OS: Kubuntu 12.04). It can make install successfully. But when running it, it complains:
cyuan@dt-
Welcome to Yade 2014-05-
Traceback (most recent call last):
File "../yade/
import yade
File "/home/
import boot
ImportError: /home/3S-
Cmake output is:
cmake -DINSTALL_
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Found PythonLibs: /usr/lib/
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Found OpenMP: -fopenmp
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Version is set to 2014-05-
-- Looking for XOpenDisplay in /usr/lib/
-- Looking for XOpenDisplay in /usr/lib/
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/
-- Found OpenGL: /usr/lib/
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib/
-- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
-- Found NumPy: version "1.6.1" /usr/lib/
-- Found Loki: /usr/include
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- Boost_VERSION: 104601
-- Boost_LIB_VERSION: 1_46_1
-- 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 in /usr/lib/
-- Looking for BZ2_bzCompressInit in /usr/lib/
-- Found ZLIB: /usr/lib/
-- Found Eigen3
-- Boost Odeint can be enabled, only if Boost>=1.53 is used
-- 1
-- 46
-- Found VTK
-- 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 files HAVE_GLIB_GREGEX_H
-- Looking for include files HAVE_GLIB_GREGEX_H - found
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Found QGLViewer: /usr/lib/
-- Found GUI-LIBS
-- GMP libs: /usr/lib/
-- Found GMP: /usr/include
-- GMP libs: /usr/lib/
-- Found CGAL
-- Found GL2PS
Yade will be installed to /home/3S-
-- Suffix is set to -chaoDebug
-- LIBRARY_OUTPUT_PATH is set to lib/x86_
-- runtimePREFIX is set to /home/3S-
-- Could NOT find gts (missing: PY_gts)
-- Use embedded version of gts. Please, consider installing the corresponding package
-- Could NOT find minieigen (missing: PY_minieigen)
-- Use embedded version of minieigen. Please, consider installing the corresponding package
-- Found Tkinter: /usr/lib/
-- =======
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL PFVflow GL2PS
-- Disabled features: Odeint LinSolv SPH LIQMIGRATION LBMFLOW
-- Debug build
-- =======
-- Configuring done
-- Generating done
-- Build files have been written to: /home/3S-
Hi,
thanks for bugreport. It should be fixed [1].
Anton
[1] https:/ /github. com/yade/ trunk/commit/ e36179eff54a29c 918b11aab78badc 1a72193a17