← Back to team overview

yade-dev team mailing list archive

error r2228

 

Hi,

does it work for you the last release (r2228)? I got the following error.

thanks, Chiara
-----------------------------------------------------
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `bzr2228-Hertz' (bzr2228), installed files will be suffixed
with `-bzr2228-Hertz'.
All intermediary files will be in
`/home/chia/Documents/build-bzr2228-Hertz'.
Mkdir("/home/chia/Documents/build-bzr2228-Hertz")
Checking whether c++ compiler "g++" works...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... yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library
boost_system-mt... no
Checking for boost::system::error_code(); /* non-essential */ in C++ library
boost_system... no
Checking for boost::thread() in C++ library boost_thread-mt... yes
Checking for boost::posix_time::time_duration() in C++ library
boost_date_time-mt... yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt...
yes
Checking for boost::iostreams::file_sink("") in C++ library
boost_iostreams-mt... yes
Checking for boost::regex("") in C++ library boost_regex-mt... yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in
C++ library boost_serialization-mt... yes
Checking for boost::program_options::options_description o in C++ library
boost_program_options-mt... yes
Checking for C++ header file boost/foreach.hpp... yes
Checking for sqlite3_close(0L) in C++ library sqlite3... yes
Checking for Python development files... 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... yes
Checking for C++ header file numpy/ndarrayobject.h... yes
Checking for C++ header file Eigen/Core... yes
Checking for glutGetModifiers() in C++ library glut... yes
Checking for qt-mt in /usr/share/qt3... yes
Checking for vtkInstantiator::New() in C++ library vtkCommon... yes
Checking for gts_object_class() in C++ library gts... yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... yes
scons: done reading SConscript files.
scons: Building targets ...
=> /home/chia/YADE-r2228-Hertz/bin/yade-bzr2228-Hertz
=> /home/chia/YADE-r2228-Hertz/bin/yade-bzr2228-Hertz-multi
Chmod("/home/chia/YADE-r2228-Hertz/bin/yade-bzr2228-Hertz-multi", 0755)
Chmod("/home/chia/YADE-r2228-Hertz/bin/yade-bzr2228-Hertz", 0755)
C gui/qt3/FileDialog.cpp
U gui/qt3/YadeQtGeneratedMainWindow.ui
U gui/qt3/YadeQtGeneratedMainWindow.ui
U gui/qt3/YadeQtGeneratedMainWindow.ui
C gui/qt3/GLViewer.cpp
U gui/qt3/QtGeneratedMessageDialog.ui
U gui/qt3/QtGeneratedMessageDialog.ui
U gui/qt3/QtGeneratedMessageDialog.ui
C gui/qt3/MessageDialog.cpp
U gui/qt3/QtFileGeneratorController.ui
U gui/qt3/QtFileGeneratorController.ui
U gui/qt3/QtFileGeneratorController.ui
C gui/qt3/QtFileGenerator.cpp
In file included from gui/qt3/YadeQtMainWindow.hpp:15,
                 from gui/qt3/GLViewer.hpp:9,
                 from gui/qt3/GLViewer.cpp:11:
/home/chia/Documents/build-bzr2228-Hertz/include/yade-bzr2228-Hertz/yade/gui-qt3/SimulationController.hpp:21:44:
error: QtGeneratedSimulationController.h: No such file or directory
In file included from gui/qt3/YadeQtMainWindow.hpp:15,
                 from gui/qt3/QtFileGenerator.cpp:25:
/home/chia/Documents/build-bzr2228-Hertz/include/yade-bzr2228-Hertz/yade/gui-qt3/SimulationController.hpp:21:44:
error: QtGeneratedSimulationController.h: No such file or directory
In file included from gui/qt3/YadeQtMainWindow.hpp:15,
                 from gui/qt3/GLViewer.hpp:9,
                 from gui/qt3/GLViewer.cpp:11:
/home/chia/Documents/build-bzr2228-Hertz/include/yade-bzr2228-Hertz/yade/gui-qt3/SimulationController.hpp:24:
error: expected class-name before '{' token
In file included from gui/qt3/GLViewer.hpp:9,
                 from gui/qt3/GLViewer.cpp:11:
gui/qt3/YadeQtMainWindow.hpp:24: error: 'GLViewer' was not declared in this
scope
gui/qt3/YadeQtMainWindow.hpp:24: error: template argument 1 is invalid
gui/qt3/YadeQtMainWindow.hpp:24: error: template argument 1 is invalid
gui/qt3/YadeQtMainWindow.hpp:24: error: template argument 2 is invalid
gui/qt3/YadeQtMainWindow.hpp:26: error: 'GLViewer' was not declared in this
scope
gui/qt3/YadeQtMainWindow.hpp:26: error: template argument 1 is invalid
gui/qt3/YadeQtMainWindow.hpp:34: error: 'GLViewer' has not been declared
gui/qt3/YadeQtMainWindow.hpp:41: error: 'GLViewer' was not declared in this
scope
gui/qt3/YadeQtMainWindow.hpp:41: error: template argument 1 is invalid
gui/qt3/YadeQtMainWindow.hpp: In member function 'size_t
YadeQtMainWindow::viewsSize()':
gui/qt3/YadeQtMainWindow.hpp:36: error: request for member 'size' in
'((YadeQtMainWindow*)this)->YadeQtMainWindow::glViews', which is of
non-class type 'int'
gui/qt3/YadeQtMainWindow.hpp: In member function 'virtual void
YadeQtMainWindow::createController()':
gui/qt3/YadeQtMainWindow.hpp:60: error: no matching function for call to
'YadeQtMainWindow::connect(SimulationController*, const char [15],
YadeQtMainWindow* const, const char [19])'
/usr/share/qt3/include/qobject.h:119: note: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/share/qt3/include/qobject.h:229: note:                 bool
QObject::connect(const QObject*, const char*, const char*) const
gui/qt3/YadeQtMainWindow.hpp:60: error: 'class SimulationController' has no
member named 'show'
gui/qt3/YadeQtMainWindow.hpp:60: error: 'class SimulationController' has no
member named 'show'
gui/qt3/YadeQtMainWindow.hpp:60: error: 'class SimulationController' has no
member named 'raise'
gui/qt3/GLViewer.cpp: In member function 'virtual void
GLViewer::closeEvent(QCloseEvent*)':
gui/qt3/GLViewer.cpp:696: error: invalid conversion from 'GLViewer* const'
to 'int'
gui/qt3/GLViewer.cpp:696: error:   initializing argument 1 of 'void
YadeQtMainWindow::closeView(int)'
In file included from gui/qt3/YadeQtMainWindow.hpp:15,
                 from gui/qt3/QtFileGenerator.cpp:25:
/home/chia/Documents/build-bzr2228-Hertz/include/yade-bzr2228-Hertz/yade/gui-qt3/SimulationController.hpp:24:
error: expected class-name before '{' token
In file included from gui/qt3/QtFileGenerator.cpp:25:
gui/qt3/YadeQtMainWindow.hpp: In member function 'virtual void
YadeQtMainWindow::createController()':
gui/qt3/YadeQtMainWindow.hpp:60: error: no matching function for call to
'YadeQtMainWindow::connect(SimulationController*, const char [15],
YadeQtMainWindow* const, const char [19])'
/usr/share/qt3/include/qobject.h:119: note: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/share/qt3/include/qobject.h:229: note:                 bool
QObject::connect(const QObject*, const char*, const char*) const
gui/qt3/YadeQtMainWindow.hpp:60: error: 'class SimulationController' has no
member named 'show'
gui/qt3/YadeQtMainWindow.hpp:60: error: 'class SimulationController' has no
member named 'show'
gui/qt3/YadeQtMainWindow.hpp:60: error: 'class SimulationController' has no
member named 'raise'
scons: *** [/home/chia/Documents/build-bzr2228-Hertz/gui/qt3/GLViewer.os]
Error 1
scons: ***
[/home/chia/Documents/build-bzr2228-Hertz/gui/qt3/QtFileGenerator.os] Error
1
scons: building terminated because of errors.

Follow ups