|
I had the exact same problem as drummerp after some updates (it worked before). After reading this post, I fixed the problem by changing the order of the includes, as suggested. I am using gcc 4.6.1 and everything compiles fine again, even with -std=c++0x.
Thank you.
EDIT: Finally had some time to investigate this and found the error. The problem is that one function name and one enum member are already defined in X11/X.h (I am including <GL/glxew.h>, and it includes many X11 headers).
In the following lines, “PropertyNotify” is previously defined as an integer:
-> include/fbxfilesdk/kfbxplugins/kfbxobject.h:1214: virtual bool PropertyNotify(eFbxPropertyNotify pType, KFbxProperty* pProperty);
-> include/fbxfilesdk/kfbxplugins/kfbxnode.h:2106: virtual bool PropertyNotify(eFbxPropertyNotify pType, KFbxProperty* pProperty);
-> include/fbxfilesdk/kfbxplugins/kfbxtexture.h:646: virtual bool PropertyNotify(eFbxPropertyNotify pType, KFbxProperty* pProperty);
In the following line, “None” is also previously defined:
-> include/fbxfilesdk/kfbxplugins/kfbxvideo.h:212: None, //!< Progressive frame (full frame).
Since now you know exactly what’s wrong and it is an annoying conflict, it would be great to have it fixed for future releases. Please let us know if you intend to do something about it.
By the way, I am using FBX SDK 2012.2.
Author: ThiagoSG
|