???? Target machine: CPU: amd64 OS: win 8 ide: visualstudio 2013 targetsoft: 3D MAX 2014
- Install Vs and 3 DMAX 2014 (with 3D MAX 2014 SDK)
- Because the development plug-in requires vc100, one way is to download visual studio2010, the other is to Download Windows SDK for win7. first, the precautions for downloading visual studio2010
?
You can install 2013 after installing 2010. If you download Visual Studio 2010 Express, you need to install Windows SDK for win7 and you need to fix a series of problems, someone may have used this version.
First, Download Windows SDK for win7.
X86 ISO file name:Grmsdk_en_dvd.iso
X64 ISO file name:Grmsdkx_en_dvd.iso
Itanium ISO file name:Grmsdkiai_en_dvd.iso
If you have installed visual sudio 2010 or installed visual c ++ 2010 redistributable when installing other software, if the following error occurs:
Please refer to samples \ Setup \ HTML \ configdetails.htm document for further information
???????? Uninstall visual c ++ 2010 redistributable
???? If you encounter other errors, do not select the one for the error. The compiler must install it. If an error is reported, install the patch.Kb2519277
???? If it is a little troublesome to develop a free version of vs2010, first you need to create the atlmfc \ include folder under javasatl sudio 10.0 \ Vc \, and copy a copy of afxres. h.
???? Next, open the established plug-in project <properties-> General-> platform tool set-> select windows SDK 7.1>, such:
????????
???? If winres is missing during compilation. h. Copy a copy of winres. H (downloaded from the internet or dragged by someone else) to the Microsoft sdks \ windows \ v7.1 \ include directory. If the error still persists, see question ????
???? In this case, the problem should not occur. If there is a problem, see section 2.
II
???? Cause: the windowssdkdir macro points to the 7.0a Directory, which does not contain x64 files.
If you continue to prompt that you cannot open the XX file, XX. lib, there are several solutions, because I tried to change the Registry online and vcvar. bat has no effect and I do not recommend it to anyone. My method is
- Create a system environment variable winsdkdir with the value c: \ Program Files (x86) \ microsoft sdks \ windows \ v7.1
- Change windowssdkdir in the directory including the VC ++ and library to winsdkdir.
The system prompts that core. Lib is missing. Change the generated configuration to release.
????
You don't need to worry about generating a failure. You only need to generate the XX. DLE file under the directory of the 3D MAX plug-in.
In this way, every time you create a new project, you need to change the directory containing the Directory and library directory, which is too cumbersome. modify \ Templates \ 1033 \ Root under the \ maxsdk \ howto \ 3dsmaxpluginwizard directory. vcxproj, add
<Propertygroup condition = "'$ (configuration) | $ (Platform)' = 'release | x64 '">
<Shortdepath> $ (vcinstalldir) include; $ (vcinstalldir) atlmfc \ include; $ (winsdkdir) include; $ (frameworksdkdir) \ include </shortdepath>
<Librarypath> $ (vcinstalldir) Lib \ amd64; $ (vcinstalldir) atlmfc \ Lib \ amd64; $ (winsdkdir) Lib \ x64 </librarypath>
</Propertygroup>
3.
???? How to enable vs to create a plug-in project? Check 3DS MAX 2014 SDK \ maxsdk \ howto \ 3dsmaxpluginwizard \ readme. You can also search for tutorials online.