Hello,

i recompiled the OpenSG with the following command:

./scons 'contrib_terrain=yes'

and it worked without any complain.

Then i went into the following directories /Source/Contrib/Terrain

and there i saw a sample cpp file  - testTerrain.cpp and thought i could
test if it is working.

And created a Makefile for that as well.

eventually getting the following error:


[EMAIL PROTECTED]:~/download/OpenSG/OpenSG/Source/Contrib/Terrain$ make
g++ -o terr testTerrain.o -O2 -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib
-L/usr/local/lib/opt -lOSGWindowGLUT -lOSGContrib -lOSGSystem -lOSGBase
-ltiff -ljpeg -lpng -lz -lglut -lpthread -ldl -lm -L/usr/X11R6/lib64 -lGLU
-lGL -lXmu -lXi -lXt -lX11 -lpthread -ldl -lm -L/usr/X11R6/lib64
/usr/bin/ld: cannot find -lOSGContrib
collect2: ld returned 1 exit status
make: *** [terr] Error 1



it seems that it cannot find the including path.

How to specify that in the Makefile.

Attachment: Makefile
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to