Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Wishlist / Maya 2008 Plug-In Wizard for Visual Studio 2008
  RSS 2.0 ATOM  

Maya 2008 Plug-In Wizard for Visual Studio 2008
Rate this thread
 
12904
 
Permlink of this thread   Subscribe to this thread
avatar
  • jozart
  • Posted: 04 June 2008 04:42 AM
  • Total Posts: 2
  • Joined: 03 February 2008 03:14 AM

I’ve been trying to develop some plug-ins for Maya 2008 with Visual Studio 2008 but have come to a **grinding halt**.

As far as I can gather, with Maya plug-in wizard doesn’t work with Visual Studio 2008 - any ideas if and when it might? 

I’m *desparate* to know as it is delaying my whole project!!!  %-P

I had to go with the Vista x64 OS - so I’m *very* reluctant to install an older version of Visual Studio.

In the meantime I’ll sit twiddling my thumbs…

Joanna



Replies: 0
avatar

Maya 2008 is not supported for Visual Studio 2008, this is why the plug-in Wizard does not work. Check the docs for the specs.



KRISTINE MIDDLEMISS | DEVELOPER CONSULTANT
AUTODESK Media & Entertainment

Replies: 0
avatar
  • ashkent
  • Posted: 31 July 2008 05:42 PM

So someone working on Vista 64bit needing to compile a 32bit maya 2008 plug-in...what is the solution? 

I tried installing Visual Studio 2005 and changed the MayaPluginWizard.vsz file as is posted in this forum (http://area.autodesk.com/for...visual-studio-2005/#66302 but I cannot even see the Maya Plug-in Wizard icon when trying to make a new project.  Is it a manual approach then?  Sorry this is my first time compiling a plug-in for Maya and I am totally lost.

Thanks for any input



Replies: 0
avatar

You don’t need to compile 32-bit, if your on a 64-bit machine compile a 64-bit plig-in Visual Studio should detect what bit the OS and install the correct 64 bit version.

But you need to make sure you have a 64 bit version of Maya too. 

For the plug-in Wizard did you follow all the instructions here (this path might be slighly different on Vistat, but I odn’t have a Vista to test on)

C:\Program Files\Autodesk\Maya2008\devkit\pluginwizard

including the change to the MayaPluginWizard.vsz file.

You can also try compiling some of the devkit example projects located in this folder to see if things work:

C:\Program Files\Autodesk\Maya2008\devkit\plug-ins

~K



KRISTINE MIDDLEMISS | DEVELOPER CONSULTANT
AUTODESK Media & Entertainment

Replies: 0
avatar
  • Phlok
  • Posted: 23 October 2008 10:13 AM

Why is VS 2008 not supported- It’s not that new? As a programmer I am to deliver applications supporting the latest versions of some well known and well spread standard applications. Will there be a patch with support for 2008 in the near future?



Mach schon Platz, ich bin der Landvogt.

Replies: 0
avatar

At the time of Maya 2009 development, the focus was not on changing platforms/compilers.  Yes, VS2008 has been out for a while, when we needed to lock down the development we didn’t have all of the pieces (3rd party libraries,...) with which to build Maya with VS 2008.  We decided to stay with the known quantity of VS 2005 SP1 which we had used before.

There is no patch to support 2008 in the future.



KRISTINE MIDDLEMISS | DEVELOPER CONSULTANT
AUTODESK Media & Entertainment

Replies: 0
avatar
  • tabana
  • Posted: 11 November 2008 03:48 PM

I’m not sure if it will works for Maya 2008, but it’s working for 2009.

Edit the wizard file (MayaPluginWizard.vsz) and replace with this:

VSWIZARD 7.0
Wizard
=VsWizard.VsWizardEngine.9.0

Param
="WIZARD_NAME = MayaPluginWizard"
Param="FALLBACK_LCID = 1033"
Param="MANAGED = FALSE"

I’m running VS 2008 SP1 with feature pack and it runs like a charm. :)



Replies: 1
/img/forum/dark/default_avatar.png

Thanks so much!  I had to also move the plugin wizard up one directory level relative to the devkit instructions, but then it’s working well.

Author: leovitch

Replied: 18 October 2009 07:03 PM  
avatar
  • Phlok
  • Posted: 29 December 2008 08:26 AM

Thanks you for this workaround! Good Job!



Mach schon Platz, ich bin der Landvogt.

Replies: 0
avatar

tabana 11 November 2008 06:48 PM

I’m not sure if it will works for Maya 2008, but it’s working for 2009.

Edit the wizard file (MayaPluginWizard.vsz) and replace with this:

VSWIZARD 7.0
Wizard
=VsWizard.VsWizardEngine.9.0

Param
="WIZARD_NAME = MayaPluginWizard"
Param="FALLBACK_LCID = 1033"
Param="MANAGED = FALSE"


I’m running VS 2008 SP1 with feature pack and it runs like a charm. :)

Thanks for that - it made my WIzard work (with Maya 2009 and Studio8, but now when I include MSimple.h or MGlobal.h I get error messages about “unresolved external symbols”.

I manually added the lib and include directories via the VS8 options, but it doesnt help.
Here is an error log of what happens when I try and build a simple HelloWorld.cpp ... any ideas what I need to change?!

1> Creating library Debug/HelloWorld.lib and object Debug/HelloWorld.exp
1>HelloWorldCmd.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall MPxCommand::MPxCommand(void)” (__imp_??0MPxCommand@@QAE@XZ) referenced in function “public: __thiscall HelloWorld::HelloWorld(void)” (??0HelloWorld@@QAE@XZ)

[ ...]

1>HelloWorldCmd.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: __thiscall MStatus::MStatus(enum MStatus::MStatusCode)” (__imp_??0MStatus@@QAE@W4MStatusCode@0@@Z) referenced in function “public: virtual class MStatus __thiscall HelloWorld::doIt(class MArgList const &)” (?doIt@HelloWorld@@UAE?AVMStatus@@ABVMArgList@@@Z)
1>Debug\HelloWorld.mll : fatal error LNK1120: 20 unresolved externals



Replies: 0




   
  Settings Choose Theme color: