Tears and blood in 3D MAX plug-in Development Environment Configuration

Source: Internet
Author: User
Tags visual studio 2010

???? Target machine: CPU: amd64 OS: win 8 ide: visualstudio 2013 targetsoft: 3D MAX 2014

  1. Install Vs and 3 DMAX 2014 (with 3D MAX 2014 SDK)
  2. 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

  1. Create a system environment variable winsdkdir with the value c: \ Program Files (x86) \ microsoft sdks \ windows \ v7.1
  2. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.