Hi Patrick,
Those variables have to be defined by the user so osgswig knows where your
OSG is installed.
If you run ccmake like so:

 >mkdir build
 >cd build
 >ccmake ../

 you can set these variables to point to the correct location in the
interface. 
I'm sure there is a way to define them via command line cmake, but I use
either the GUI for cmake on win or ccmake on linux/mac so someone else would
have to tell you how.
Gerrick


On 11/14/08 9:43 AM, "Patrick Bouffard" <[EMAIL PROTECTED]>
wrote:

> Hi, I have OSG 2.4 installed via apt-get on my ubuntu 8.04 system. I fetched
> osgswig from svn and did as per the README:
> 
> mkdir build
> cd build 
> cmake ..  -DCMAKE_BUILD_TYPE=Release
> 
> .. and get:
> 
> -- Warning osg not found, OSG_LIBRARY tring to use: OSG_LIBRARY_DEBUG
> -- Warning osgUtil not found, OSGUTIL_LIBRARY tring to use:
> OSGUTIL_LIBRARY_DEBUG
> -- Warning osgDB not found, OSGDB_LIBRARY tring to use: OSGDB_LIBRARY_DEBUG
> -- Warning osgText not found, OSGTEXT_LIBRARY tring to use:
> OSGTEXT_LIBRARY_DEBUG
> -- Warning osgTerrain not found, OSGTERRAIN_LIBRARY tring to use:
> OSGTERRAIN_LIBRARY_DEBUG
> -- Warning osgFX not found, OSGFX_LIBRARY tring to use: OSGFX_LIBRARY_DEBUG
> -- Warning osgViewer not found, OSGVIEWER_LIBRARY tring to use:
> 
> OSGVIEWER_LIBRARY_DEBUG
> -- Warning osgGA not found, OSGGA_LIBRARY tring to use: OSGGA_LIBRARY_DEBUG
> -- Warning osgSim not found, OSGSIM_LIBRARY tring to use: OSGSIM_LIBRARY_DEBUG
> -- Warning osgShadow not found, OSGSHADOW_LIBRARY tring to use:
> 
> OSGSHADOW_LIBRARY_DEBUG
> -- Warning osgManipulator not found, OSGMANIPULATOR_LIBRARY tring to use:
> OSGMANIPULATOR_LIBRARY_DEBUG
> -- Warning osgParticle not found, OSGPARTICLE_LIBRARY tring to use:
> 
> OSGPARTICLE_LIBRARY_DEBUG
> CMake Error: The following variables are used in this project, but they are
> set
> 
> to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake
> files:
> OPENTHREADS_LIBRARY (ADVANCED)
>     linked by target "_osg" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgDB" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgFX" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgGA" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgManipulator" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgSim" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgText" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgUtil" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgViewer" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGDB_LIBRARY
>     linked by target "_osgDB" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgFX" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGFX_LIBRARY
>     linked by target "_osgFX" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGGA_LIBRARY
>     linked by target "_osgGA" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgManipulator" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgSim" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgText" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgViewer" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGMANIPULATOR_LIBRARY
>     linked by target "_osgManipulator" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGSIM_LIBRARY
>     linked by target "_osgSim" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGTEXT_LIBRARY
>     linked by target "_osgText" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGUTIL_LIBRARY
>     linked by target "_osgFX" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgManipulator" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgSim" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgUtil" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSGVIEWER_LIBRARY
>     linked by target "_osgViewer" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSG_INCLUDE_DIR
>    used as include directory in directory /home/patrick/dev/osgswig-read-only
>    used as include directory in directory
> /home/patrick/dev/osgswig-read-only/src
>    used as include directory in directory
> /home/patrick/dev/osgswig-read-only/src/python
> OSG_LIBRARY
>     linked by target "_osg" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgDB" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgFX" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgGA" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgManipulator" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgSim" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgText" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgUtil" in directory
> /home/patrick/dev/osgswig-read-only/src/python
>     linked by target "_osgViewer" in directory
> /home/patrick/dev/osgswig-read-only/src/python
> 
> -- Configuring incomplete, errors occurred!
> 
> I'm probably just missing something silly, hopefully someone can point out
> what
> that is.
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to