|
楼主 |
发表于 2008-2-18 15:09:29
|
显示全部楼层
回复 2# 的帖子
非常感谢你!
以下引用的是osg官方网站的原文:
Building with Visual Studio 8
Open the generated OpenSceneGraph.sln file, which will be in the directory you entered unde "Where to build the binaries" (eg. OpenSceneGraph\build), with Visual Studio. Select your desired build type (Debug, Release, RelWithDebugInfo, MinSizeRel) and press F7 for "Build Solution". Assuming everything builds correctly, you can then right-click on the INSTALL project and build that, which will copy the compiled files to the correct directories (based on what you set CMAKE_INSTALL_PREFIX to). Before that, the compiled files all reside in the build directory, and I don't recommend you use them from there.
Just to reiterate: Always build the INSTALL project. The locations where the files are copied to as part of the INSTALL target are the correct locations from where you should use them (bin\ for application executables and DLLs, lib\ for libraries, include\ for headers, and share\OpenSceneGraph\bin\ for example executables). See "Environment variables" below for some tips to set up your build environment for your own project to use the files from the correct locations.
您可以帮我讲解一下,我经过CMAKE和VS对openscenegraph的build之后,为了实现打开显示dem文件的操作,我接下来可以怎么做吗?
以下是我参考编译vpb的步骤链接:
http://www.openscenegraph.org/pr ... cifics/VisualStudio
以下是我下载第三方代码和CMAKE的地址:
http://www.openscenegraph.org/pr ... nloads/Dependencies
http://www.cmake.org/HTML/Download.html |
|