Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Problems loading maya with a custom shader - "undefined symbol: AiNodeParamStr"

4 ANTWORTEN 4
Antworten
Nachricht 1 von 5
Anonymous
721 Aufrufe, 4 Antworten

Problems loading maya with a custom shader - "undefined symbol: AiNodeParamStr"

Hello,

A stundent at our faculty has developed some simple shader for Arnold and it already worked well in Maya 2017. Just installed Maya 2017 on another machine (Ubuntu Linux, as used before) and when starting Maya it loads up until trying to load the shader. Then it will crash with the message

/usr/autodesk/maya2017/bin/maya.bin: symbol lookup error: /opt/solidangle/mtoa/2017/shaders/shader_bsdf_ptm.so: undefined symbol: AiNodeParamStr

Worked before on the other machine and the same shader works well with kick as a renderer for testing. Any idea why it could be that AiNodeParamStr isn't found? Should normally be in the libai, right? Shader is build and linked to Arnold 5.0.1.4 SDK with the current MtoA installed for Maya.

Tags (1)
Beschriftungen (1)
4 ANTWORTEN 4
Nachricht 2 von 5
Stephen.Blair
als Antwort auf: Anonymous

What MtoA do you have? I bet you have an old one that uses Arnold 5.0

You can also use kick -nodes on the command line, then you'll see some message about incompatible versions.



// Stephen Blair
// Arnold Renderer Support
Nachricht 3 von 5
Anonymous
als Antwort auf: Anonymous

Both installed yesterday and seem to be the same version. Also when I use kick from /opt/solidangle/mtoa/2017/bin/kick it also renders with this shader compilation. Before I had the problem that MtoA was older and I got the message from MtoA that MtoA is older than the used SDK.

Nachricht 4 von 5
Stephen.Blair
als Antwort auf: Anonymous

Can you post a full Arnold log for a render? Or set MTOA_STARTUP_LOG_VERBOSITY to 2 and post a startup log?

Or, from a Maya session, run ldd on shader_bsdf_ptm.so



// Stephen Blair
// Arnold Renderer Support
Nachricht 5 von 5
Anonymous
als Antwort auf: Stephen.Blair

Seems I found the problem. Just reordered the gcc parameters. I had "-L$ARNOLD_PATH/bin -lai" in front of the source files and found that my old makefile before a rewrite had them at the back and still worked without any parameter changed. Didn't knew that the order in this regards is important to gcc.

Used to Cmake where I don't care about building the gcc command line myself.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report