← Back to team overview

yade-dev team mailing list archive

[Bug 582701] Re: r2241 does not compile

 

OK, obviously a version that really didn't have squaredNorm yet. (the
one in jaunty already did). Do something like

cd /tmp
wget http://fr.archive.ubuntu.com/ubuntu/pool/main/e/eigen2/libeigen2-dev_2.0.12-0ubuntu1_i386.deb
sudo dpkg -i libeigen2-dev_2.0.12-0ubuntu1_i386.deb

that should help.

-- 
r2241 does not compile
https://bugs.launchpad.net/bugs/582701
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
Maybe it's linked with https://launchpad.net/bugs/582679, or maybe not that's why I open a new bug. Here is the error log :

jduriez@c1solimara-l:~/yade$ scons
scons: Reading SConscript files ...
scons: Reading SConscript files ...
@@@ Using profile debug (scons.profile-debug) @@@
Yade version is `debug' (bzr2241), installed files will be suffixed with `-debug-debug'.
All intermediary files will be in `/home/3S-LAB/jduriez/build-debug-debug'.
Checking whether c++ compiler "g++" works...(cached) yes
Finding libstdc++ library... (cached) /usr/lib/gcc/i486-linux-gnu/4.3.2/libstdc++.so
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system-mt... (cached) yes
Checking for boost::thread() in C++ library boost_thread-mt... (cached) yes
Checking for boost::posix_time::time_duration() in C++ library boost_date_time-mt... (cached) yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... (cached) yes
Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... (cached) yes
Checking for boost::regex("") in C++ library boost_regex-mt... (cached) yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in C++ library boost_serialization-mt... (cached) yes
Checking for boost::program_options::options_description o in C++ library boost_program_options-mt... (cached) yes
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for sqlite3_close(0L) in C++ library sqlite3... (cached) yes
Checking for Python development files... (cached) yes
Checking for python module `IPython' ...(cached) yes
Checking for boost::python::scope() in C++ library boost_python-mt... (cached) yes
Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
Checking for C++ header file Eigen/Core... (cached) yes
Checking for glutGetModifiers() in C++ library glut... (cached) yes
Checking for qt-mt in /usr/share/qt3... (cached) yes
Checking for gts_object_class() in C++ library gts... (cached) yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
C /home/3S-LAB/jduriez/build-debug-debug/core/core.cpp
C lib/QGLViewer/camera.cpp
C lib/QGLViewer/manipulatedFrame.cpp
C lib/QGLViewer/manipulatedCameraFrame.cpp
In file included from /home/3S-LAB/jduriez/build-debug-debug/core/core.cpp:4:
/home/3S-LAB/jduriez/yade/core/Cell.cpp: In member function 'void Cell::integrateAndUpdate(Real)':
/home/3S-LAB/jduriez/yade/core/Cell.cpp:27: error: 'class Eigen::Matrix<double, 3, 1, 0, 3, 1>' has no member named 'squaredNorm'
C lib/QGLViewer/frame.cpp
C lib/QGLViewer/saveSnapshot.cpp
C lib/QGLViewer/constraint.cpp
C lib/QGLViewer/keyFrameInterpolator.cpp
C lib/QGLViewer/mouseGrabber.cpp
C lib/QGLViewer/quaternion.cpp
C lib/QGLViewer/vec.cpp
C lib/QGLViewer/VRender/BackFaceCullingOptimizer.cpp
C lib/QGLViewer/VRender/BSPSortMethod.cpp
scons: *** [/home/3S-LAB/jduriez/build-debug-debug/core/core.os] Error 1
scons: building terminated because of errors.

This log result from a second scons. A first scons, executed just before, gave me (moreover to this error in Cell.cpp) errors linked with **Qt** files, as in https://launchpad.net/bugs/582679 it seems.

Jerome





References