|
楼主 |
发表于 2010-6-17 07:47:56
|
显示全部楼层
1# feiliang
下面是它的快速安装帮助:
Quick Setup
-----------
Steps to Build and Run the Code Generator
1. Set environment variable OPENSCENEGRAPH_X86_DIR to the location of
your OpenSceneGraph x86 install directory. This is the same directory
as CMAKE_INSTALL_PREFIX when building with CMake's "Visual Studio 8
2005" generated build system.
2. (Optional) If x64 wrappers are desired, also set the
OPENSCENEGRAPH_X64_DIR to the location of your OpenSceneGraph x64
install directory. This is the same directory as CMAKE_INSTALL_PREFIX
when building with CMake's "Visual Studio 8 2005 Win64" generated
build system.
3. Run Visual Studio, open Generator.sln and build.
4. In the Visual Studio project settings under Debugging, add the
OPENSCENEGRAPH_X86_DIR to the execution path by setting the
Environment string to
PATH=$(OPENSCENEGRAPH_X86_DIR)\bin;$(PATH)
5. Run the executable via Debug > Start Without Debugging.
Steps to Build the Wrappers
1. Open the generated solution file in output\x86-build\OsgDotNet.sln
(or output\x64-build\OsgDotNet.sln for x64).
2. Select the Debug or Release configuration and build the
solution. The wrapper assemblies (for x86) are output to the debug
and release subdirectories of output\x86-build\bin.
到第五步Debug > Start Without Debugging时弹出错误如下: |
|