Hi,

On Mon, 2005-01-17 at 11:43, Tran Thanh Hiep wrote:
> I have install OpenSG but in lib OpenSG has not file 
> libqt.so . Can you help me the way i can install
> OpenSG to standar? . I have install OpenSG on Suse9.0,
> all example  of OpenSG I can run. But when I test
> example with QT it error.

qt should not part of OpenSG (IIRC), it normally comes with
your linux distribution (for you Suse 9.0). I don't have Suse
but AFAIK qt should sit in /usr/lib/qt3. Could you let me
know the value of your QTDIR environment variable ?.

Ok, I checked the packages coming with Suse 9.0, interestingly
only libqt-mt.so contains the QGLWidget symbols, no idea why ;-(

could you change your command line to use -lqt-mt instead of 
-lqt, so it should look something like :

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-mt -lXmu -lXi -lXt -lpthread -ldl -o OpenSGViewer

regards,
  gerrit




-------------------------------------------------------
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