Hi Alberto, CMake reports :
Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR) Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES OPENSCENEGRAPH_INCLUDE_DIR) OPENSCENEGRAPH_FOUND = FALSE OPENSCENEGRAPH_INCLUDE_DIRS = OSG_INCLUDE_DIR-NOTFOUND;OPENTHREADS_INCLUDE_DIR-NOTFOUND OPENSCENEGRAPH_LIBRARIES = OSG_LIBRARY-NOTFOUND;OPENTHREADS_LIBRARY-NOTFOUND Although I have built OpenSceneGraph in "~/OpenSceneGraph-3.0.1-build-eclipse-cdt" directory, I have not "sudo make install" it and it seems that "FIND_PACKAGE(OpenSceneGraph)" command could not work in this case. Regards Lawrence On Thu, Apr 19, 2012 at 3:13 PM, Alberto Luaces <[email protected]> wrote: > Lawrence Tsang writes: > > > INCLUDE_DIRECTORIES(${OPENSCENEGRAPH_INCLUDE_DIRS}) > > TARGET_LINK_LIBRARIES( test ${OPENSCENEGRAPH_LIBRARIES} ) > > Did you populate those two variables when running CMake? If you issue a > "make VERBOSE=1", do you see the -I and -L flags? > > Regards, > > -- > Alberto > > _______________________________________________ > 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

