yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12059
[Bug 1459267] Re: complie error on Ubuntu 12.04.5 LTS
So, it's because the older compiler.
https://answers.launchpad.net/yade/+question/267673
I close the bug report.
** Changed in: yade
Status: New => Invalid
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1459267
Title:
complie error on Ubuntu 12.04.5 LTS
Status in Yet Another Dynamic Engine:
Invalid
Bug description:
Compile error happens at the beginning.
--------------------
OS:
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
--------------------
cyuan@dt-med006:~/trunkVersions/Latest/build$ cmake -DCMAKE_INSTALL_PREFIX=/home/3S-LAB/cyuan/yade /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/ -DSUFFIX="-latest"
-- 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 PythonInterp: /usr/bin/python (found version "2.7.3")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- 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 2015-05-26.git-56869e0
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- 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/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib/libgl2ps.so
-- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
-- Found NumPy: version "1.6.1" /usr/lib/python2.7/dist-packages/numpy/core/include
-- Found Loki: /usr/include
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- Boost_VERSION: 104601
-- Boost_LIB_VERSION: 1_46_1
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so/usr/lib/libboost_system-mt.so/usr/lib/libboost_date_time-mt.so
-- Found Eigen3: /home/3S-LAB/cyuan/Eigen/include/eigen3 (Required is at least version "2.91.0")
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.3.4")
-- Found PythonLibs: /usr/lib/libpython2.7.so
-- Found Eigen3, version: 3.2.4
-- Disable vectorization
-- Boost Odeint can be enabled, only if Boost>=1.53 is used
-- 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/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/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/x86_64-linux-gnu/libqglviewer-qt4.so
-- Found GUI-LIBS
-- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found GMP: /usr/include
-- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found CGAL
-- Found Cholmod: /usr/lib/libcholmod.so
-- Found OpenBlas: /usr/lib/openblas-base/libopenblas.so
-- Found Metis: /usr/include/metis
-- Found Cholmod
-- Found OpenBlas
-- Found Metis
-- Found GL2PS
-- Boost version is less than 1.47, using embedded version of floating_point_utilities_v3
-- Consider updating boost or system, as this embedded library will be removed soon
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /home/3S-LAB/cyuan/yade
-- Suffix is set to -latest
-- LIBRARY_OUTPUT_PATH is set to lib/x86_64-linux-gnu
-- runtimePREFIX is set to /home/3S-LAB/cyuan/yade
-- Found gts: /usr/lib/python2.7/dist-packages/gts
-- Use system gts version
-- Found minieigen: /usr/lib/python2.7/dist-packages/minieigen.so
-- Found Tkinter: /usr/lib/python2.7/lib-tk/Tkinter.pyc
-- ===========================================================
-- Yade configured with following features: VTK OpenMP GTS GUI CGAL PFVFLOW LINSOLV GL2PS LBMFLOW
-- Disabled features: Odeint SPH LIQMIGRATION MASK_ARBITRARY PROFILING
-- Optimized build
-- ===========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/3S-LAB/cyuan/trunkVersions/Latest/build
cyuan@dt-med006:~/trunkVersions/Latest/build$ make -j2
[ 1%] Scanning dependencies of target WeightedAverage2d
Generating qt4/moc_OpenGLManager.cxx
[ 2%] Generating qt4/moc_GLViewer.cxx
[ 2%] Building CXX object py/CMakeFiles/WeightedAverage2d.dir/WeightedAverage2d.cpp.o
Scanning dependencies of target _GLViewer
[ 3%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o
In file included from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/smoothing/WeightedAverage2d.hpp:5:0,
from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/py/WeightedAverage2d.cpp:1:
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:8:8: error: expected nested-name-specifier before ‘Real’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:8:8: error: ‘Real’ has not been declared
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:8:13: error: expected ‘;’ before ‘=’ token
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:8:13: error: expected unqualified-id before ‘=’ token
In file included from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/smoothing/WeightedAverage2d.hpp:5:0,
from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/py/WeightedAverage2d.cpp:1:
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:106:27: error: expected unqualified-id before ‘using’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:107:7: error: expected nested-name-specifier before ‘Vector2i’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:107:7: error: ‘Vector2i’ has not been declared
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:107:16: error: expected ‘;’ before ‘=’ token
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:107:16: error: expected unqualified-id before ‘=’ token
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:108:7: error: expected nested-name-specifier before ‘Vector2r’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:108:7: error: ‘Vector2r’ has not been declared
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:108:16: error: expected ‘;’ before ‘=’ token
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:108:16: error: expected unqualified-id before ‘=’ token
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:110:27: error: expected unqualified-id before ‘using’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:111:7: error: expected nested-name-specifier before ‘Vector3i’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:111:7: error: ‘Vector3i’ has not been declared
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:111:16: error: expected ‘;’ before ‘=’ token
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:111:16: error: expected unqualified-id before ‘=’ token
........................
........................
/usr/include/boost/python/detail/destroy.hpp:90:5: note: candidate is:
/usr/include/boost/python/detail/destroy.hpp:31:17: note: template<class T> static void boost::python::detail::value_destroyer<false>::execute(const volatile T*)
In file included from /usr/include/boost/python/object/make_instance.hpp:10:0,
from /usr/include/boost/python/object/make_ptr_instance.hpp:8,
from /usr/include/boost/python/to_python_indirect.hpp:11,
from /usr/include/boost/python/converter/arg_to_python.hpp:10,
from /usr/include/boost/python/call.hpp:15,
from /usr/include/boost/python/object_core.hpp:14,
from /usr/include/boost/python/args.hpp:25,
from /usr/include/boost/python.hpp:11,
from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/lib/base/Math.hpp:56,
from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/core/Omega.hpp:20,
from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/gui/qt4/GLViewer.hpp:6,
from /home/3S-LAB/cyuan/trunkVersions/Latest/trunk/gui/qt4/_GLViewer.cpp:1:
/usr/include/boost/python/converter/registered.hpp: In function ‘const boost::python::converter::registration& boost::python::converter::detail::registry_lookup2(T& (*)()) [with T = long int(long int*)throw ()]’:
/usr/include/boost/python/converter/registered.hpp:94:40: instantiated from ‘const boost::python::converter::registration& boost::python::converter::detail::registry_lookup1(boost::type<T>) [with T = long int (&)(long int*)throw ()]’
/usr/include/boost/python/converter/registered.hpp:105:23: instantiated from ‘const boost::python::converter::registration& boost::python::converter::detail::registered_base<long int (&)(long int*)throw ()>::converters’
/usr/include/boost/python/extract.hpp:167:11: instantiated from ‘boost::python::converter::extract_rvalue<T>::extract_rvalue(PyObject*) [with T = long int(long int*)throw (), PyObject = _object]’
/usr/include/boost/python/extract.hpp:156:19: instantiated from ‘boost::python::extract<T>::extract(const boost::python::api::object&) [with T = long int(long int*)throw ()]’
/home/3S-LAB/cyuan/trunkVersions/Latest/trunk/core/Scene.hpp:123:1: instantiated from here
/usr/include/boost/python/converter/registered.hpp:86:7: error: no matching function for call to ‘register_shared_ptr1(long int (*)(long int*)throw ())’
/usr/include/boost/python/converter/registered.hpp:86:7: note: candidate is:
/usr/include/boost/python/converter/registered.hpp:77:3: note: template<class T> void boost::python::converter::detail::register_shared_ptr1(const volatile T*)
make[2]: *** [gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gui/CMakeFiles/_GLViewer.dir/qt4/_GLViewer.cpp.o] Error 1
make[1]: *** [gui/CMakeFiles/_GLViewer.dir/all] Error 2
make: *** [all] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1459267/+subscriptions
References