Hey..
After installing Microsoft Platform SDK, and some tweaks, It works!!!
Thanks guys.
I also make Maya pluginwizard works.
Do not know if this helps any newbie like me, but here is what I did.
install Visual C++ 2005 Express and Microsoft Platform SDK
you can find Maya plugin wizard : "MayaPluginWizard2.0.zip" in somehwere like this
ex. C:\Program Files\Alias\Maya7.0\devkit\pluginwizard
3.decompress that zip file and you get a folder (d), MayaPlugInWizard and within that folder you get :
a. 1 folder : MayaPlugInWizard
b. 3 files : MayaPlugInWizard.ico, MayaPlugInWizard.vsz, MayaPlugInWizard.vsdir.
- copy MayaPlugInWizard folder ( a ) into VCWizards of your Visual C++ 2005 Express
ex . C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards
5.create a new folder ( c ), name it what ever you want, like "MayaDev" ,copy the rest 3 files ( b ) into it.
6.copy the whole folder ( c ) you just created and put it into VCProjects folder , the one inside Express folder, of your Visual C++ 2005 Express.
ex. C:\Program Files\Microsoft Visual Studio 8\VC[b]Express\VCProjects[/b]
(P.S. I think you can just copy those 3 files into Express/VCProject folder, and it should work. The only difference is, if you put those files into one folder, in your 2005 Express, it will create a new catglory as the name of your folder under Visual C++. If you don't, you can still find Maya pluginwizard under Visual C++)
7.within that folder, open MayaPlugInWizard.vsz using notepad. There are two things you need to do.
1.change the second line from
Wizard=VsWizard.VsWizardEngine.7.1
To
Wizard=VsWizard.VsWizardEngine.8.0
- add one line like this.
Param="RELATIVE_PATH = VCWizards"
To compile your plugin,
in your additional Include Directories, mostly, you will nees two dir there.
1. the path of your SDK include folder
2. the path of your MAYA include folder(pluginwizard should do this for you)
in your Additional Library Directories, most of time, you need,
1. the path of your SDK lib folder
2. the path of your MAYA lib folder(pluginwizard should do this for you)
And that's it. Now you should be able to use Maya pluginwizard and compile your plugin without problem.(cross my finger... )
P.S. I have not tried to compile my plugin and put it on other computer, so I don't know if I should distribute those dll with my plugin. I will try recently.