Hi,
I'm trying to set up Codeblocks as an alternate to MVS for Maya Plug-in Development on Windows. This requires a 64 bit complier and linker, which I have( minGW64 ). I'm have trouble finding out what setting I need to be using and wondering if i got it right. I looked on the forum, the wiki, and the internet in general. It seems that it is possible, but nobody has explained how in any great detail. I'm new to Code Blocks IDE, so I'll need a precise and complete set of instructions.
I have added the Maya include directory in the Globals Compiler Settings, and that seems to be working fine. I've also set the Compiler's Installation directory to point 64bit compiler, ( in my case, C:/MinGW64 ). I'm not certain that working or if that everything I need to do.
When I compile the basic helloworld Plugin, I get a fatal error because it can't find <crtassem.h>
My first thought here is that I'm compiling 32 bit mode because the error occurs after what I think is a 32 bit dirrective.
Code snippet where error occurs follows: ( error colored red)
#ifdef _WIN32
#if _MSC_VER < 1500
// When external code is compiling, MLIBRARY_DONTUSE_MFC_MANIFEST
// will not be defined. This will force the manifest on
// x86 and amd64 to mfc80.dll. We do not force the manifest
// to mfc80d.dll for a Debug build since a released version of
// Maya does not use Debug libraries.
#if !defined(MLIBRARY_DONTUSE_MFC_MANIFEST)
#include <crtassem.h>
I'm not certain if this error is because CodeBlocks is configured incorrectly or if it's something else. Any help would be welcome.