Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

OSX: using Eclipse instead of XCode?

OSX: using Eclipse instead of XCode?

Anonymous
Not applicable
312 Views
2 Replies
Message 1 of 3

OSX: using Eclipse instead of XCode?

Anonymous
Not applicable
Hi!

Has anyone tried using Eclipse C/C++ IDE on OSX?
My first attempt yesterday with Maya 2011 devkit ended with
a few errors in MTypes.h:

- expected `}' before 'false' arcLen line 239, external location: /Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h
- expected identifier before 'false' arcLen line 239, external location: /Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h
- redeclaration of C++ built-in type 'bool' arcLen line 235, external location: /Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h

etc.

The same example plug-in compiles fine on XCode 3.2.1. Eclipse's
default compiler is set to 'MacOSX GCC' which I assume is the same
one that XCode uses internally (apple-darwin10-GCC++ 4.2.1).
Any tips would be greatly appreciated!

.rex
0 Likes
313 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Im attempting the same thing and came across the same errors. Did you resolve this?

/Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h:235: error: redeclaration of C++ built-in type 'bool'
/Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h:239: error: expected identifier before 'false'
/Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h:239: error: expected `}' before 'false'
/Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h:239: error: expected unqualified-id before 'false'
/Applications/Autodesk/maya2011/devkit/include/maya/MTypes.h:239: error: expected declaration before '}' token
0 Likes
Message 3 of 3

Anonymous
Not applicable
FYI, If you want to use Xcode, I have posted instructions on how to change the Xcode settings so it build Mac OS X plug-ins that Maya2011 will run in 64-bit as well as 32-bit.

http://area.autodesk.com/forum/autodesk-maya/sdk/maya-devkit-on-mac-osx-106#p224784

-pif
0 Likes