View Full Version : plugins for different Maya extensions
Mona777 05-14-2009, 11:01 AM Hey guys,
I have compiled a Maya plugin on my machine which has Maya 2008 extension 2. My colleague who has a Maya 2008 (without extension) can't load my plugin. He gets the following message: `Error: Plug-in, "rbNVector" was compiled against a newer version of the Maya API and is incompatible with the current Maya version.`
What can we do about this? He doesn't have visual studio on his machine so can't re-compile the program on his. What's the solution please?
Many thanks
|
|
WesHowe
05-16-2009, 03:40 AM
If you change your project to point to copies of the 'libs' and 'include' directories that came with the original version, it should run (these are in the Maya program folder on your friend's machine). If you did use a function that was not in the older version, you'll have to find a workaround to get it to compile.
How I do this is to create a new project with the same source files and parameters as the original project, but in properties I set a different intermediate folder, and I set the additional include path and library path to the proper set of files for the target version.
So when I compile the solution, I get two different .mll files. I have been adding parts to the file name like 2009x64 and 2009x86 (I don't have 2008 here).
<* Wes *>
strarup
05-18-2009, 08:34 AM
hi,
or if it's possible... convert it to a python plugin... :)
no compiling... and it could prolly work in 2009 aswell... again without compiling... :D
(atleast if your plug doesn't need any of the stuff the python api doesn't support)
I've got a bit tired of c++ and recompiling my plugs... so working on converting them all to python... :D
however isn't it just posible to update your colleague's version of maya 2008 to ext2... no compiling needed either... :)
just a couple of ideas...
kind regards
strarup
Mona777
05-18-2009, 11:07 AM
Thanks very much for your suggestions guys
CGTalk Moderation
05-18-2009, 11:07 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.