← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2251: 1. compile with package QGLViewer, if installed (package libqglviewer-qt3-dev)

 

libqglviewer-qt3-dev
______________________________


Anton Gladkyy


2010/5/28 chiara modenese <c.modenese@xxxxxxxxx>

>
>
> 2010/5/25 Anton Gladky <gladky.anton@xxxxxxxxx>
>
> 2010/5/24 <noreply@xxxxxxxxxxxxx>
>>
>> ------------------------------------------------------------
>>> revno: 2251
>>> committer: Václav Šmilauer <eudoxos@xxxxxxxx>
>>> branch nick: trunk
>>> timestamp: Mon 2010-05-24 23:42:47 +0200
>>> message:
>>>  1. compile with package QGLViewer, if installed (package
>>> libqglviewer-qt3-dev)
>>>
>>
>> Hi, Vaclav!
>>
>> It is working well for me. No problem.
>> If other people test it, can we get rid of local QGLViewer?
>>
>
> Hi Anton,
> I installed the viewer but I have just got this message compiling r2259
>
> scons: Reading SConscript files ...
> @@@ Using profile default (scons.profile-default) @@@
> Yade version is `bzr2259' (bzr2259), installed files will be suffixed with
> `-bzr2259'.
> All intermediary files will be in `/home/chia/Documents/build-bzr2259'.
> Checking whether c++ compiler "g++" works...(cached) yes
> Finding libstdc++ library... (cached)
> /usr/lib/gcc/x86_64-linux-gnu/4.3.3/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) no
> Checking for boost::system::error_code(); /* non-essential */ in C++
> library boost_system... (cached) no
> 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
> /var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning:
> the sets module is deprecated
>   from sets import Set
> 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 QGLViewer() in C++ library qglviewer... (cached) yes
> Checking for vtkInstantiator::New() in C++ library vtkCommon... (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 gui/qt3/FileDialog.cpp
> C gui/qt3/GLViewer.cpp
> C gui/qt3/MessageDialog.cpp
> C gui/qt3/QtFileGenerator.cpp
> C gui/qt3/QtGUI.cpp
> C gui/qt3/QtGUIPreferences.cpp
> C gui/qt3/SimulationController.cpp
> C gui/qt3/YadeQtMainWindow.cpp
> In file included from gui/qt3/YadeQtMainWindow.cpp:23:
> /usr/share/qt3/include/qimage.h: In member function 'bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around &&
> within ||
> C gui/qt3/YadeCamera.cpp
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_QtGeneratedSimulationController.cc
> In file included from
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_QtGeneratedSimulationController.cc:23:
> /usr/share/qt3/include/qimage.h: In member function 'bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around &&
> within ||
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/moc_QtGeneratedSimulationController.cc
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_QtGeneratedMessageDialog.cc
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/moc_QtGeneratedMessageDialog.cc
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_YadeQtGeneratedMainWindow.cc
> In file included from
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_YadeQtGeneratedMainWindow.cc:20:
> /usr/share/qt3/include/qimage.h: In member function 'bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around &&
> within ||
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/moc_YadeQtGeneratedMainWindow.cc
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_QtFileGeneratorController.cc
> In file included from
> /home/chia/Documents/build-bzr2259/gui/qt3/uic_QtFileGeneratorController.cc:22:
> /usr/share/qt3/include/qimage.h: In member function 'bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around &&
> within ||
> C
> /home/chia/Documents/build-bzr2259/gui/qt3/moc_QtFileGeneratorController.cc
> C /home/chia/Documents/build-bzr2259/gui/qt3/moc_GLViewer.cc
> C /home/chia/Documents/build-bzr2259/gui/qt3/moc_YadeCamera.cc
> C lib/serialization-qt/QtGUIGenerator.cpp
> C
> /home/chia/Documents/build-bzr2259/lib/serialization-qt/moc_QtGUIGenerator.cc
> C /home/chia/Documents/build-bzr2259/lib/yade-support.cpp
> C /home/chia/Documents/build-bzr2259/core/core.cpp
> C /home/chia/Documents/build-bzr2259/lib/yade-opengl.cpp
> L libyade-opengl.so
> /usr/bin/ld: cannot find -lqglviewer-qt3
> collect2: ld returned 1 exit status
> scons: *** [/home/chia/Documents/build-bzr2259/lib/libyade-opengl.so] Error
> 1
> In file included from /home/chia/Documents/build-bzr2259/core/core.cpp:24:
> /usr/include/boost/date_time/gregorian_calendar.ipp: In function
> 'std::string boost::posix_time::to_iso_string(boost::posix_time::ptime)':
> /usr/include/boost/date_time/gregorian_calendar.ipp:122: note:
> 'year.boost::gregorian::greg_year::<anonymous>.boost::CV::constrained_value<boost::CV::simple_exception_policy<short
> unsigned int, 1400u, 10000u, boost::gregorian::bad_year> >::value_' was
> declared here
> /usr/include/boost/date_time/gregorian_calendar.ipp:122: note:
> 'year.boost::gregorian::greg_year::<anonymous>.boost::CV::constrained_value<boost::CV::simple_exception_policy<short
> unsigned int, 1400u, 10000u, boost::gregorian::bad_year> >::value_' was
> declared here
> scons: building terminated because of errors.
>
> Maybe I installed the wrong package? In Synaptic I found libqglviewer-dev.
> If this is wrong where can I detect the right one?
> Thanks for your help,
> Chiara
>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
>> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
>

References