现在的位置: 首页 > 综合 > 正文

3ds Max 2009 Plugin + vs 2008(转载)

2013年03月14日 ⁄ 综合 ⁄ 共 1483字 ⁄ 字号 评论关闭

1,在Program Files\maxsdk\howto\3dsmaxPluginWizard中的readme.txt有配置方法

<1>打开3dsmaxPluginWizard.vsz修改如下:

VSWIZARD 7.0

Wizard=VsWizard.VsWizardEngine.9.0 //9.0是必要的,没有这个无法开启导航

Param="WIZARD_NAME = 3dsmaxPluginWizard"

Param="ABSOLUTE_PATH = F:\Program Files\maxsdk\howto\3dsmaxPluginWizard"//这里是当前2010sdk的文件夹(注意文件路径不能有空格)

Param="FALLBACK_LCID = 1033" 

 <2>将以下的3个文件放到VS的vcprojects(Program Files\Microsoft Visual Studio 8\VC\vcprojects)中

3dsmaxPluginWizard.ico

3dsmaxPluginWizard.vsdir

3dsmaxPluginWizard.vsz

 在readme.txt完成后还要做以下几步:
 <3>将max安装目录Autodesk\3ds Max 9 SDK\maxsdk\howto\3dsmaxPluginWizard下3dsmaxPluginWizard.vcproj文件及Autodesk \3ds Max 9 SDK\maxsdk\howto\3dsmaxPluginWizard\Templates\1033下root.vcproj文件里的 Version="8.00"改为Version="9.00";

 <4>将max安装目录Autodesk\3ds Max 9 SDK\maxsdk\howto\3dsmaxPluginWizard下3dsmaxPluginWizard.vsz文件中 Wizard=VsWizard.VsWizardEngine.8.0改为Wizard=VsWizard.VsWizardEngine.9.0

 <5>编译的时候可能会出现如下错误:
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>cl : Command line error D8022 : cannot open 'D:\Program'
修改方法:Properties->C/C++->Command Line->Addition Options去掉:/LD @D:\Program Files\Autodesk\3ds Max 2009SDK\maxsdk\ProjectSettings\AdditionalCompilerOptions.txt
重新编译即可完成。
}
其实其中5、的错误,是由于SDK的安装路径中含有空格符号,这个问题在官方的视频教程中已有提到。解决的方法是:
Properties->C/C++->Command Line->Addition Options 将 /LD @D:\Program Files\Autodesk\3ds Max 2009SDK\maxsdk\ProjectSettings\AdditionalCompilerOptions.txt 修改为: /LD @“D:\Program Files\Autodesk\3ds Max 2009SDK\maxsdk\ProjectSettings\AdditionalCompilerOptions.txt”
即加一对引号。

抱歉!评论已关闭.