required arnold and mtoa versions

90 views
Skip to first unread message

Est

unread,
Mar 1, 2016, 7:10:08 AM3/1/16
to cortexdev
Hi all,

I'm currently trying to build Cortex with Arnold support, 
using arnold 4.2.11.0 and mtoa 1.2.6.1.

It seems IECoreArnold builds, but when the mtoa translator is built 
I have this error:

g++ -o contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.os -c -isystem /usr/local/include/tbb -isystem /usr/local/include/boost_1_55_0 -isystem /usr/include/OpenEXR -isystem /usr/include/OpenEXR -isystem /usr/include/OpenEXR/OpenEXR -isystem /usr/include/OpenEXR/OpenEXR -isystem /usr/include -isystem /usr/include -isystem /usr/include -isystem /usr/include/freetype2 -pipe -Wall -O3 -DNDEBUG -DBOOST_DISABLE_ASSERTS -DBOOST_SIGNALS_NO_DEPRECATION_WARNING -DBOOST_SIGNALS_NO_DEPRECATION_WARNING -isystem /usr/include/GL -isystem /usr/autodesk/maya2016/include -isystem /opt/dev/software/solidangle/LIN/2016/1.2.6.1/include -isystem /usr/local/plugins/mtoa -isystem /opt/dev/software/solidangle/LIN/SDK/4.2.11.0/include -D_LINUX -fPIC -DIE_CORE_MAJORVERSION=9 -DIE_CORE_MINORVERSION=7 -DIE_CORE_PATCHVERSION=1 -DBOOST_FILESYSTEM_VERSION=3 -D_BOOL -DREQUIRE_IOSTREAM -I/usr/include/python2.7 -I/usr/include/python2.7 -DLINUX -Iinclude -I/usr/local/include/OpenEXR contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.cpp
contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.cpp:218:44: error: 'AtUInt' has not been declared
   virtual void ExportMotion( AtNode *node, AtUInt step )
                                            ^
contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.cpp: In member function 'virtual AtNode* ProceduralHolderTranslator::CreateArnoldNodes()':
contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.cpp:60:64: error: no matching function for call to 'ProceduralHolderTranslator::IsMasterInstance(MDagPath&)'
                   m_isMasterDag =  IsMasterInstance(m_masterDag);
                                                                ^
contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.cpp:60:64: note: candidate is:
In file included from /opt/dev/software/solidangle/LIN/2016/1.2.6.1/include/translators/shape/ShapeTranslator.h:3:0,
                 from contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.cpp:46:
/opt/dev/software/solidangle/LIN/2016/1.2.6.1/include/translators/DagTranslator.h:46:17: note: virtual bool CDagTranslator::IsMasterInstance()
    virtual bool IsMasterInstance();
                 ^
/opt/dev/software/solidangle/LIN/2016/1.2.6.1/include/translators/DagTranslator.h:46:17: note:   candidate expects 0 arguments, 1 provided
scons: *** [contrib/IECoreArnold/src/IECoreArnold/mtoaExtension/ProceduralHolderTranslator.os] Error 1
scons: building terminated because of errors.

Is there a specific mtoa version that I should use?

Thanks!

Est.

John Haddon

unread,
Mar 1, 2016, 12:16:55 PM3/1/16
to cort...@googlegroups.com
To be blunt, I have no idea. Although I still work on IECoreArnold to support Arnold in Gaffer, it has been a very long time since I built the MtoA extension, and the MtoA API seemed to be a bit of a moving target back then. We'd be more than happy to receive a pull request with updates for a recent MtoA version, but I think at this point it's unlikely to be something that originates from one of the core team (Arnold support is in contrib after all)...
Cheers...
John


From: cort...@googlegroups.com [cort...@googlegroups.com] on behalf of Est [rame...@gmail.com]
Sent: Tuesday, March 01, 2016 4:10 AM
To: cortexdev
Subject: [cortex] required arnold and mtoa versions

--
--
You received this message because you are subscribed to the "cortexdev" group.
To post to this group, send email to cort...@googlegroups.com
To unsubscribe from this group, send email to cortexdev-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cortexdev?hl=en
---
You received this message because you are subscribed to the Google Groups "cortexdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cortexdev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Est

unread,
Mar 2, 2016, 3:57:44 AM3/2/16
to cortexdev, jo...@image-engine.com
Hi,

I built everything else without problems. I'm not sure we need the translator.
I'm going to ask and if we need it, I'm going to try to update it and send a PR.

Thanks!

Est.

Reply all
Reply to author
Forward
0 new messages