hi sajjadul

on a side note: if you use scons tests=1, then all the test files 
in /contrib should be built as well when compiling OpenSG.

see this ticket: https://opensg.vrsource.org/trac/ticket/194

cheers,
simon

Sajjadul Islam wrote:
> 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.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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


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