Thanks Gerrick. Actually after posting I thought about it some more and got a bit farther. What I needed to do was install some more packages (libopenthreads-dev and libopenscenegraph-dev). Now cmake completes successfully and my problem is with make:
/usr/bin/cmake -H/home/patrick/dev/osgswig-read-only -B/home/patrick/dev/osgswig-read-only/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/patrick/dev/osgswig-read-only/build/CMakeFiles /home/patrick/dev/osgswig-read-only/build/CMakeFiles/progress.make make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/home/patrick/dev/osgswig-read-only/build' make -f src/python/CMakeFiles/_osg.dir/build.make src/python/CMakeFiles/_osg.dir/depend make[2]: Entering directory `/home/patrick/dev/osgswig-read-only/build' /usr/bin/cmake -E cmake_progress_report /home/patrick/dev/osgswig-read-only/build/CMakeFiles 2 [ 2%] Swig source cd /home/patrick/dev/osgswig-read-only/build/src/python && /usr/bin/swig -python -make_default -outdir /home/patrick/dev/osgswig-read-only/build/lib/python -c++ -I/usr/include -I/home/patrick/dev/osgswig-read-only/include -I/usr/include/python2.5 -o /home/patrick/dev/osgswig-read-only/build/src/python/osgPYTHON_wrap.cxx /home/patrick/dev/osgswig-read-only/src/python//osg.i /home/patrick/dev/osgswig-read-only/src/python//../osg.i:503: Error: Unable to find 'osg/MixinVector' make[2]: *** [src/python/osgPYTHON_wrap.cxx] Error 1 make[2]: Leaving directory `/home/patrick/dev/osgswig-read-only/build' make[1]: *** [src/python/CMakeFiles/_osg.dir/all] Error 2 make[1]: Leaving directory `/home/patrick/dev/osgswig-read-only/build' make: *** [all] Error 2 > > On Fri, Nov 14, 2008 at 11:02 AM, Gerrick Bivins > <[EMAIL PROTECTED]> wrote: >> 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

