seloba 发表于 2013-1-26 14:05:18

做了Nebula3的应用程序向导

使用方法:
1. 配置环境变量:
http://p.blog.csdn.net/images/p_blog_csdn_net/xoyojank/EntryImages/20090608/N3Wizard_Path.JPG
2. 把下载的zip解压到一个合适的位置
3. 把N3ConsoleAppWizard.ico, N3ConsoleAppWizard.vsdir, N3ConsoleAppWizard.vsz三个文件拷贝到Visual Studio 8\VC\vcprojects\下, 并更改N3ConsoleAppWizard.vsz中的路径为第2步中的解压路径
4. 打开VS2005, 新建工程就可以看到了
http://p.blog.csdn.net/images/p_blog_csdn_net/xoyojank/EntryImages/20090608/N3Wizard_NewProject.JPG
http://p.blog.csdn.net/images/p_blog_csdn_net/xoyojank/EntryImages/20090608/N3Wizard_WizardSettings.JPG
http://p.blog.csdn.net/images/p_blog_csdn_net/xoyojank/EntryImages/20090608/N3Wizard_Code.JPG
附:
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的父目录, 这样直接把输出目录设置好就可以了.
页: [1]
查看完整版本: 做了Nebula3的应用程序向导