Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / SDK / Compile a simple Maxscript function plugin DLX
  RSS 2.0 ATOM  

Compile a simple Maxscript function plugin DLX
Rate this thread
 
63980
 
Permlink of this thread  
avatar
  • Total Posts: 2
  • Joined: 29 January 2012 03:44 AM

Hi, i read max sdk documentation about adding a new maxscript function but many issue come immediately :)
max wizard don’t work for visual c++ express 2010 , hundreds of compilers of C++ and no one compatible with max… C++ is always c++, why all these issues ????

So i decide to compile the dlx plugin with more more more more simple wxDev-C++.

I read the example :
D:\Programmi\Autodesk\Autodesk 3ds Max 2011 SDK\maxsdk\howto\maxscript\intervalarray

I create a new dll project in wxDev and i add these files:

dll.h
DllMain.cpp
IntervalArray.cpp

i link the include folders with : Project Option > Directories > Library & Include Directories :
D:\Programmi\Autodesk\Autodesk 3ds Max 2011 SDK\maxsdk\include\maxscript
D:\Programmi\Autodesk\Autodesk 3ds Max 2011 SDK\maxsdk\include\maxscrpt
D:\Programmi\Autodesk\Autodesk 3ds Max 2011 SDK\maxsdk\include

But the compiler give me a lot of error and warning loading maxscpt.h.... ?????

in the Attachments i put the devc++ project.

MY QUESTION : is possible add a c++ code (i must add a lot of C/C++ algorithms) into maxscript compatible with max9, max2010, max2011 and max2012 or is it a imaginary story ? Can someone explain me how do a simple wxDev-C++ project ?

Thanks anyway for the answer.



Attachment Attachment
Replies: 0
avatar

Mah… i unistall all my visual studio version and installed Visual C++ 2008 Express, a free download.

In my old Windows XP the 3dstudio wizard work but into my new pc, when i try to run template, visual c++ try to download the Default.htm and then nothing… ????

-----------------------------------------------------------------------------------------------

So i tryed to compiled
Autodesk 3ds Max 2011 SDK\maxsdk\howto\maxscript\intervalarray\IntervalArray.vcproj and work…



Replies: 0