Notifications
Clear all

[Closed] Anyone with success to compile app wizard on VS2010?

I can’t get it compiled, when running it, the final step crashes the IDE
IDE: VS2010 Ultimate
I’ve got a problem with
[! output SDKPATH_LIB64]

7 Replies

The short answer is yes (sdk max 2011 and VS 2010 ultimate).
But i dont know why you have that error. do you compile fine with 32 libs?

1 Reply
(@lucky6969c)
Joined: 11 months ago

Posts: 0

I am getting these errors:


Error	1	error C1083: Cannot open include file: '[!output PROJECT_NAME].h': No such file or directory	c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\1033\atmospheric_type_atmospheric.cpp	15	1	3dsmaxPluginWizard
Error	2	error C1083: Cannot open include file: '[!output PROJECT_NAME].h': No such file or directory	c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\1033\camera_type_cameraobject.cpp	15	1	3dsmaxPluginWizard
Error	3	error C1083: Cannot open include file: '[!output PROJECT_NAME].h': No such file or directory	c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\1033\camera_type_gencamera.cpp	15	1	3dsmaxPluginWizard
Error	4	error C1083: Cannot open include file: '[!output PROJECT_NAME].h': No such file or directory	c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\1033\colpick_type_colpick.cpp	15	1	3dsmaxPluginWizard
Error	5	error C1083: Cannot open include file: '[!output PROJECT_NAME].h': No such file or directory	c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\1033\controller_type_control.cpp	15	1	3dsmaxPluginWizard

But there is more…

Those paths to the pluginWizard are wrong.


c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\103  3\atmospheric_type_atmospheric.cpp

must be


c:\program files (x86)\autodesk\3ds max 2012\maxsdk\howto\3dsmaxpluginwizard	emplates\1033\atmospheric_type_atmospheric.cpp

BUT

I understand you wrong. I use the 3dsmaxPlugin Wizard to create and compile my own plugins, but i never need to compile the 3dsmaxPlugin Wizard for do that.

It’s hard to figure out what’s going wrong. But it shouldn’t be the problem because I
try to cut N paste to notepad++ and it shows that it was just a clipboard problem.
There seem to be little information from the web about how to compile this thing.
I was wondering what this thing does…


 #include "[!output PROJECT_NAME].h" <<<<<<<<<<<< No body knows what this does, I asked in codeguru to no avail
 
 #define [!output CLASS_NAME]_CLASS_ID	Class_ID([!output CLASSID1], [!output CLASSID2])
 
 #define PBLOCK_REF	0
 
 class [!output CLASS_NAME] : public [!output SUPER_CLASS_NAME] 
 {
 public:
 	//Constructor/Destructor
 	[!output CLASS_NAME]();
 	virtual ~[!output CLASS_NAME]();		
 

I think, you dont need to compile the 3dsmaxplugin wizard for anything. So, you dont have to touch or compile it. You just need to configure the Visual Studio to allow you to create plugins using it.
That is a different history, and you have to change things to works with, at least, 3ds max 2011 and VS 2010.


#include "[!output PROJECT_NAME].h"  //when you create your own plugin using te pluginwizard, is your main.h of your plugin.
 
 #define [!output CLASS_NAME]_CLASS_ID	Class_ID([!output CLASSID1], [!output CLASSID2])
//this is your plugin ID, generated randomly (you can use the Class ID generator to get it).
 
 #define PBLOCK_REF	0
 
 class [!output CLASS_NAME] : public [!output SUPER_CLASS_NAME] //your plugin name and its superClass (GUP for example).
 {
 public:
	 //Constructor/Destructor
	 [!output CLASS_NAME]();
	 virtual ~[!output CLASS_NAME]();		

This is the code of the cpp file of a just made plugin with the 3dsmax wizard, called maxDummyProject:


/**********************************************************************
 *<
	FILE: maxDummyProject.cpp

	DESCRIPTION:	Appwizard generated plugin

	CREATED BY: 

	HISTORY: 

 *>	Copyright (c) 2003, All Rights Reserved.
 **********************************************************************/

#include "maxDummyProject.h"

#define maxDummyProject_CLASS_ID	Class_ID(0xb8bbceb5, 0x58d90427)


class maxDummyProject : public GUP {
	public:

		static HWND hParams;

		// GUP Methods
		DWORD	Start			( );
		void	Stop			( );
		DWORD	Control			( DWORD parameter );
		
		// Loading/Saving
		IOResult Save(ISave *isave);
		IOResult Load(ILoad *iload);

		//Constructor/Destructor
		maxDummyProject();
		~maxDummyProject();		
};



class maxDummyProjectClassDesc : public ClassDesc2 {
	public:
	int 			IsPublic() { return TRUE; }
	void *			Create(BOOL loading = FALSE) { return new maxDummyProject(); }
	const TCHAR *	ClassName() { return GetString(IDS_CLASS_NAME); }
	SClass_ID		SuperClassID() { return GUP_CLASS_ID; }
	Class_ID		ClassID() { return maxDummyProject_CLASS_ID; }
	const TCHAR* 	Category() { return GetString(IDS_CATEGORY); }

	const TCHAR*	InternalName() { return _T("maxDummyProject"); }	// returns fixed parsable name (scripter-visible name)
	HINSTANCE		HInstance() { return hInstance; }					// returns owning module handle
	

};

static maxDummyProjectClassDesc maxDummyProjectDesc;
ClassDesc2* GetmaxDummyProjectDesc() { return &maxDummyProjectDesc; }




maxDummyProject::maxDummyProject()
{

}

maxDummyProject::~maxDummyProject()
{

}

// Activate and Stay Resident
DWORD maxDummyProject::Start( ) {
	
	// TODO: Do plugin initialization here
	
	// TODO: Return if you want remain loaded or not
	return GUPRESULT_KEEP;
}

void maxDummyProject::Stop( ) {
	// TODO: Do plugin un-initialization here
}

DWORD maxDummyProject::Control( DWORD parameter ) {
	return 0;
}

IOResult maxDummyProject::Save(ISave *isave)
{
	return IO_OK;
}

IOResult maxDummyProject::Load(ILoad *iload)
{
	return IO_OK;
}

Then I think I have screwed up my VS2010 IDE, no matter how I incorporated it, the final step crashes my IDE, that really baffles me. I shall try to reinstall it later.
Thanks
Jack

I dont remember the steps to make the plugin Wizard works, but a fast google search returns this:

 http://www.inrialpes.fr/sed/people/boissieux/MECHE/3DSMax_SettingsVS.html 

try those steps. I dont have max 2012 to try them.
good luck!