My command line wich i have used to compile my Example

uic -o mainwindow.h mainwindow.ui
                                                      
                         
uic -i mainwindow.h -o mainwindow.cpp mainwindow.ui
                                                      
                         
moc -o moc_mainwindow.cpp mainwindow.h
                                                      
                         
g++ -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE -DOSG_WITH_GLUT
-DOSG_WITH_QT -DOSG_WITH_TIF -DOSG_WITH_PNG
-DOSG_WITH_JPG -I$QTDIR/include -I/usr/local/include
-ansi -ftemplate-depth-100 mainwindow.cpp    main.cpp
moc_mainwindow.cpp -L/usr/local/lib/dbg
-L/usr/X11R6/lib -L$QTDIR/lib -lOSGWindowGLUT
-lOSGWindowQT -lOSGSystem -lOSGBase -lGLU -lGL -lglut
-lqt -lXmu -lXi -lXt -lpthread -ldl -o OpenSGViewer


!...................................................
follow is error message 

/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::updateGL()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::qt_emit(int, QUObject*)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::initializeOverlayGL()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to
`QGLWidget::QGLWidget[not-in-charge](QWidget*, char
const*, QGLWidget const*, unsigned)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::setFormat(QGLFormat const&)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLFormat::defaultFormat()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::paintEvent(QPaintEvent*)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::glInit()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::setMouseTracking(bool)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::resizeOverlayGL(int, int)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::grabFrameBuffer(bool)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::qt_cast(char const*)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::renderPixmap(int, int, bool)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::updateOverlayGL()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::resizeEvent(QResizeEvent*)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::qt_property(int, int,
QVariant*)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::makeOverlayCurrent()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::setContext(QGLContext*,
QGLContext const*, bool)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::~QGLWidget [not-in-charge]()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `typeinfo for QGLWidget'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::reparent(QWidget*, unsigned,
QPoint const&, bool)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::qt_invoke(int, QUObject*)'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::paintOverlayGL()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::glDraw()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to `QGLWidget::staticMetaObject()'
/usr/local/lib/dbg/libOSGWindowQT.so: undefined
reference to
`QGLWidget::QGLWidget[not-in-charge](QGLFormat const&,
QWidget*, char const*, QGLWidget const*, unsigned)'
collect2: ld returned 1 exit status



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to