Hi Simon,

On Fri, 2005-08-26 at 13:13 -0700, Simon Su wrote:
> Hi Dirk,
> 
> I used the following configuration argument,
> 
> ./configure
> --prefix=/home/ssu/proj/OpenSG/OpenSG-install
> --with-glut --with-qt=/usr/lib/qt-3.1/ --with-tif
> --with-jpg --with-png

This assumes that all the libs are in the default locations, I hope
that's the case.

> When compilation complete, I type make and make
> installed. 

Is that a typo? The correct command is 'make install'. everything else
should have complained.

Can you send us the complete make log (i.e. "(make && make install) >&
log")? Without it it's hard to tell what's going on.

> When I go to compile the tutorial, same
> thing happen, except not complaining for glut
> configuration.
> 
> [EMAIL PROTECTED] OpenSG]$ cd Tutorials/
> [EMAIL PROTECTED] Tutorials]$ make
> "g++" -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE
> -DOSG_WITH_GLUT -DOSG_WITH_QT -DOSG_WITH_TIF
> -DOSG_WITH_JPG -DOSG_WITH_PNG
> -D_OSG_HAVE_CONFIGURED_H_ -DQT_NO_XINERAMA
> -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_XKB
> -DQT_NO_SM_SUPPORT -DQT_NO_IMAGEIO_MNG
> -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA
> -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE
> -DQT_NO_STYLE_COMPACT -ansi -use_readonly_const
> -ftemplate-depth-100 -fpic -g -DOSG_DEBUG
> -DOSG_WITH_GLUT -DOSG_WITH_TIF -DOSG_WITH_JPG
> -DOSG_WITH_PNG
> -I/home/ssu/proj/OpenSG/OpenSG-install/include
> 01hello.cpp  -g
> -L/home/ssu/proj/OpenSG/OpenSG-install/lib/dbg
> -lOSGWindowGLUT -lOSGSystem -lOSGBase -ltiff -ljpeg
> -lpng -lz -lglut -lGLU -lGL -lXmu -lXi -lXt -lX11
> -lpthread -ldl -lm -L/usr/X11R6/lib -o 01hello
> /usr/bin/ld: cannot find -lOSGWindowGLUT
> collect2: ld returned 1 exit status
> make: *** [01hello] Error 1
> 
> 
> Something I did wrong? I did untar the package fresh
> from OpenSG-1.4.0-src.tgz. List of lib/dbg directory
> still only one file.
> 
> [EMAIL PROTECTED] Tutorials]$ ls -alF
> ../../OpenSG-install/lib/dbg/
> total 13472
> drwxr-xr-x    2 ssu      graphics       26 Aug 26
> 12:58 ./
> drwxr-xr-x    4 ssu      graphics       26 Aug 26
> 12:58 ../
> -rwxr-xr-x    1 ssu      graphics 13792200 Aug 26
> 12:58 libOSGBase.so*

There should be a lot more. Can you check what's in
Builds/*/SystemLib/obj-dbg?

        Dirk




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to