使用方法:
1. 配置环境变量:
2. 把下载的zip解压到一个合适的位置
3. 把N3ConsoleAppWizard.ico, N3ConsoleAppWizard.vsdir, N3ConsoleAppWizard.vsz三个文件拷贝到Visual Studio 8\VC\vcprojects\下, 并更改N3ConsoleAppWizard.vsz中的路径为第2步中的解压路径
4. 打开VS2005, 新建工程就可以看到了
附:
Nebula3工程编译选项(以April2009为准):
Debug
|
General | |
|
Character Set |
NotSet |
|
C/C++ | |
|
Additional Include Directives |
..;../foundation;../extlibs;../tools ; |
|
Detect 64-bit Portability Issuses |
No |
|
Treat Warnings As Errors |
Yes(/WX) |
|
Preprocessor Definitions |
__WIN32__;WIN32;_DEBUG;NT_PLUGIN;_HAS_EXCEPTIONS=0; |
|
Enable String Pooling |
Yes(/GF) |
|
Enable C++ Exceptions |
No |
|
Runtime Library |
Multi-threaded Debug(/MTd) |
|
Enable Function-Level Linking |
Yes(/Gy) |
|
Floating Point Model |
Fast(/fp:fast) |
|
Compile As |
Default |
|
Linker | |
|
Enable Incremental Linking |
Default |
|
Additional Library Directories |
.\Win32\Debug,..\..\bin\win32,..\lib\win32_vc_i386; |
|
Additional Dependencies |
dbghelp.lib dxguid.lib wsock32.lib rpcrt4.lib wininet.lib d3d9.lib d3dx9.lib dinput8.lib xinput.lib dxerr9.lib x3daudio.lib |
|
Generate Manifest |
No |
|
Generate Map File |
Yse(/MAP) |
|
Map File Name |
$(TargetDir)$(TargetName).map |
|
Map Exports |
Yes(/MAPINFO:EXPORTS) |
|
SubSystem |
Not set |
Release:
|
General | |
|
Character Set |
Not Set |
|
C/C++ | |
|
Additional Include Directories |
..;../foundation;../extlibs;../tools ; |
|
Detect 64-bit Portability Issues |
No |
|
Treat Warnings As Errors |
Yes(/WX) |
|
Optimization |
Custom |
|
Inline Function Expansion |
Any Suitable(/Ob2) |
|
Enable Intrinsic Functions |
Yes(/Oi) |
|
Favor Size or Speed |
Favor Small Code(/Os) |
|
Omit Frame Pointers |
Yes(/Oy) |
|
Preprocessor Definitions |
__WIN32__;WIN32;NT_PLUGIN;_HAS_EXCEPTIONS=0; |
|
Enable String Pooling |
Yes(/GF) |
|
Enable C++ Exceptions |
No |
|
Runtime Library |
Multi-threaded(/MT) |
|
Buffer Security Check |
No(/GS-) |
|
Floating Point Model |
Fast(/fp:fast) |
|
Compile As |
Default |
|
Linker | |
|
Enabled Incremental Linking |
Default |
|
Additional Library Directories |
.\Win32\Release,..\..\bin\win32,..\lib\win32_vc_i386; |
|
Additional Dependencies |
dbghelp.lib dxguid.lib wsock32.lib rpcrt4.lib wininet.lib d3d9.lib d3dx9.lib dinput8.lib xinput.lib dxerr9.lib x3daudio.lib |
|
Generate Manifest |
No |
|
Generate Map File |
Yes(/MAP) |
|
Map File Name |
$(TargetDir)$(TargetName).map |
|
Map Exports |
Yes(/MAPINFO:EXPORTS) |
|
SubSystem |
Not Set |
6/22/2009: 发现几个问题
- stdafx.h第一次编译会说找不到, 再编译一次才通过
- 由于源代码的SDK的pdb文件没有引入, 所以没法调试SDK相关的代码
- 输出目录应该为bin/win32/(或者"XXXX/win32"), 不然export.zip和export_win32.zip无法加载, 会导致RenderApplication的默认资源创建失败.
对于1和2, 我没找到什么好方法, 有人共享下没? 3到是好解决, 把$(N3SDK)设置成code的父目录, 这样直接把输出目录设置好就可以了.
Nebula3配置指南
本文档详细介绍了如何配置Nebula3开发环境,并提供了VS2005中使用Nebula3模板的具体步骤。此外,还列出了Debug与Release模式下的编译选项,并针对编译过程中遇到的问题给出了建议。
168

被折叠的 条评论
为什么被折叠?



