kaivai
11-27-2011, 02:50 PM
I am new to C++ and VS 2008, but I have a pretty good base understanding of procedural programming in QBasic and Mel.
I am having trouble creating the settings for a simple "Hello World" program for it to compile in VS 2008. Most of the tutorials I have found have been based on writing code for Maya 5.0 or 6.0, and I keep seeing references to what you need to do, but not how to do it.
My understanding is that to compile for Maya, you need to
- create a Win32 application
- in Application Type, change it to .dll
- link to OpenMayaUI or any other libraries you might need
- include initializePlugin/uninitializePlugin methods
- change the output file extension .mll (I am using windows)
I understand the first two steps, but I cannot find anywhere to change the output extension to .mll, nor do I understand how to link. I read somewhere that in VS 2003 you could right click on your project, Linker > Input > Additional Dependencies and then type OpenMayaUI.lib, but in VS 2008 I have a whole ton of options and none of them look appropriate.
Where did you guys learn the Maya API from? Is there any super beginner tutorials or books on the subject?
Thank you so so much
I am having trouble creating the settings for a simple "Hello World" program for it to compile in VS 2008. Most of the tutorials I have found have been based on writing code for Maya 5.0 or 6.0, and I keep seeing references to what you need to do, but not how to do it.
My understanding is that to compile for Maya, you need to
- create a Win32 application
- in Application Type, change it to .dll
- link to OpenMayaUI or any other libraries you might need
- include initializePlugin/uninitializePlugin methods
- change the output file extension .mll (I am using windows)
I understand the first two steps, but I cannot find anywhere to change the output extension to .mll, nor do I understand how to link. I read somewhere that in VS 2003 you could right click on your project, Linker > Input > Additional Dependencies and then type OpenMayaUI.lib, but in VS 2008 I have a whole ton of options and none of them look appropriate.
Where did you guys learn the Maya API from? Is there any super beginner tutorials or books on the subject?
Thank you so so much
