Classification: UNCLASSIFIED Caveats: NONE I didn't get a $CMAKE_INSTALL_PREFIX/lib directory at all. I did get bin, include, and share (I'm building examples).
I'm work with Visual Studio 2008 Version 9.0.21022.8, Vista 32. Today I deleted $CMAKE_INSTALL_PREFIX/* and built the "INSTALL" target again. I'm getting reports like: 1>-- Installing: C:/Program Files/OpenSceneGraph/include/osgSim/Version 1>-- Installing: C:/Program Files/OpenSceneGraph/include/osgSim/VisibilityGroup 1>-- Up-to-date: C:/Program Files/OpenSceneGraph/lib/osgTerraind.lib 1>-- Installing: C:/Program Files/OpenSceneGraph/bin/osg55-osgTerraind.dll 1>-- Installing: C:/Program Files/OpenSceneGraph/include/osgTerrain/Export Notice the line indicating that osgTerraind.lib is "Up-to-Date". The file C:/Program Files/OpenSceneGraph/lib/osgTerraind.lib does not exist either before or after. Build of install target finishes with: 1>Build log was saved at "file://c:\Users\butler\src\OpenSceneGraph-2.8.2-rc2\build\INSTALL.dir\Debug \BuildLog.htm" 1>INSTALL - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 209 up-to-date, 0 skipped ========== Lee -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jean-Sébastien Guay Sent: Monday, July 06, 2009 4:44 PM To: OpenSceneGraph Users Subject: Re: [osg-users] 2.8.2-rc2 install question (UNCLASSIFIED) Hello Lee, > Just built 2.8.2-rc2 on Windows Vista. The "INSTALL" target installs > the DLLs but not the ".lib" files needed for linking. Is this customary? > What's the usual approach for installing a version of OSG to link > other applications against? .lib files should be in $CMAKE_INSTALL_PREFIX/lib after building the INSTALL target... It does this on my machine (VC++ 2005 SP1, Vista). Perhaps you were expecting them to be alongside the DLLs in $CMAKE_INSTALL_PREFIX/bin? If you really don't get the lib files, check the output window in VC++ when you build the INSTALL target, it will tell you where they went, or if there was some error when copying them. Hope this helps, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org Classification: UNCLASSIFIED Caveats: NONE _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

