Hi,
Does anyone use Dev C++ for compiling maya plugins?
I tried to compile a hello world plugin, but it wouldnt compile because Dev C++ cant find the header files.
I dont know how to get Dev C++ to point at the maya include dir. I keep getting this error:
In file included from c:\hellow~1\hellow~1.cpp:1:
C:\DEV-C_~1\Include\MPxCommand.h:62: maya\MStatus.h: No such file or directory
C:\DEV-C_~1\Include\MPxCommand.h:63: maya\MTypes.h: No such file or directory
C:\DEV-C_~1\Include\MPxCommand.h:64: maya\MString.h: No such file or directory
c:\hellow~1\hellow~1.cpp:2: MGlobal.h: No such file or directory
c:\hellow~1\hellow~1.cpp:3: MFnPlugin.h: No such file or directory
I’ve tried putting the header files in the Dev include dir and also copied the includes to my root hdd and pointing to them, like so;
#include “C:\maya\MPxCommand”
#include <C:\maya\MPxCommand> and so on…
I can’t afford Visual C++, which is what the maya documentation recommends. I’m sure there is a solution to using Dev C++, but I just don’t know enough about my compiler, and I can’t find how to point to the directives in the docs.
I hope someone can help
Cheers

