← Back to team overview

yade-dev team mailing list archive

[Bug 582679] Re: Compile error of the current trunk on Lucid

 

Hmm,

http://bazaar.launchpad.net/~yade-dev/yade/trunk/annotate/head:/gui/qt3/SimulationController.hpp#L21
here we have:

#include"QtGeneratedSimulationController.h"

But I do not see this file in a trunk at all.
Only QtGeneratedSimulationController.ui

-- 
Compile error of the current trunk on Lucid
https://bugs.launchpad.net/bugs/582679
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:
As reported by Chiara and later confirmed by other people (me too), 

http://www.mail-archive.com/yade-dev@xxxxxxxxxxxxxxxxxxx/msg03802.html

there are some problems with compiling the trunk. 
The second "scons" typing fixes the problem.


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.





References