[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem compiling sofa-framework



Hi,

when finally trying to close #638170 of sofaframework I was running into
another problem with building this package.  The compilation breaks
with:

g++ -c -m64 -pipe -W -I/usr/include/libxml2 -O2 -O1 -D_REENTRANT -fPIC -DQT_WEBKIT -DSOFA_QT4 -DSOFA_GUI_QTVIEWER -DSOFA_GUI_GLUT -DSOFA_HAVE_PNG -DSOFA_HAVE_GLEW -DSOFA_HAVE_BOOST -DSOFA_PML -DSOFA_SUPPORT_MOV
ING_FRAMES -DDUMP_VISITOR_INFO -DNDEBUG -DSOFA_XML_PARSER_TINYXML -DMINI_FLOWVR -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/l
inux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I../../../../include -I../../../../frame
work -I../../../../modules -I../../../../applications -I/usr/include/qt4 -I/usr/include/qwt -I/usr/include/libxml2 -I../../../../extlibs/PML -I../../../../extlibs/PML/PhysicalProperties -I../../../../extlibs/LM
L -I../../../../extlibs/miniFlowVR/include -I. -I. -I/usr/X11R6/include -o OBJ/release/GraphDataWidget.o GraphDataWidget.cpp
In file included from GraphDataWidget.cpp:28:0:
../../../../applications/sofa/gui/qt/GraphDataWidget.h:48:1: error: expected class-name before ‘{’ token
../../../../applications/sofa/gui/qt/GraphDataWidget.h:61:13: error: ‘QwtData’ does not name a type
../../../../applications/sofa/gui/qt/GraphDataWidget.h: In copy constructor ‘sofa::gui::qt::QwtDataAccess<T>::QwtDataAccess(const sofa::gui::qt::QwtDataAccess<T>&)’:
../../../../applications/sofa/gui/qt/GraphDataWidget.h:58:48: error: class ‘sofa::gui::qt::QwtDataAccess<T>’ does not have any field named ‘QwtData’
../../../../applications/sofa/gui/qt/GraphDataWidget.h: At global scope:
../../../../applications/sofa/gui/qt/GraphDataWidget.h:104:5: error: ‘QwtDoubleRect’ does not name a type
../../../../applications/sofa/gui/qt/GraphDataWidget.h: In member function ‘void sofa::gui::qt::graph_data_widget_container<T>::readFromData(const data_type&)’:
../../../../applications/sofa/gui/qt/GraphDataWidget.h:167:6: error: ‘rect’ was not declared in this scope
../../../../applications/sofa/gui/qt/GraphDataWidget.h:183:16: error: ‘rect’ was not declared in this scope


I checked upstream SVN but while there are some changes in this file it
shows finally the same error.  Any hint how to fix this?

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: