I want to start learning the SDK so I can get my plugins to run faster. I’m trying to follow the lessons in the 3ds Max SDK Programmer’s Guide, but even when I try compiling the lesson projects I get the following in my output window:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(146,5): error MSB6006: “CL.exe” exited with code -1073741515.
1>
1>Build FAILED.
When I follow the error, it brings me to the “Rest of the sources” section of the Microsoft.Cpp.x64.Targets file, where I am noticing that several of the attributes are not declared (specifically, BuildingInIDE, ToolArchitecture, TrackerFrameworkPath, TrackerSdkPath, and YieldDuringToolExecution).
I’m working with Max 2012 and Visual Studio 2010. I already noticed that under the heading of Configuring the Development Environment, it has the following directions:
When building a new 3ds Max plug-in, Visual Studio needs to know where to find header files and library files. You can do this for each individual project, but it should be easier to update the Visual Studio global settings. This can be done by going to the Visual C++ options dialog (accessed from the menu Tools > Options …), and selecting in the node “Projects and Solution > VC++ Directories”.
Which is apparently no longer a thing as of VS2010. I learned that you add the include and library directories from the Property Pages instead. So I went ahead and added the \include and \lib sub-folders of my maxsdk directory respectively to the Include Directories and Libary Directories under VC++ Configuration Properties.
It seemed to work, as many of the errors that were showing up in the Plug-in Wizard skeleton code disappeared. But when I try to compile, I am getting the error I mentioned above.