Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

4 REPLIES 4
Reply
Message 1 of 5
riegerXW6EJ
537 Views, 4 Replies

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)
Labels (1)
4 REPLIES 4
Message 2 of 5
Stephen.Blair
in reply to: riegerXW6EJ

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
Message 3 of 5
riegerXW6EJ
in reply to: riegerXW6EJ

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.

Message 4 of 5
Stephen.Blair
in reply to: riegerXW6EJ

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
Message 5 of 5
riegerXW6EJ
in reply to: 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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums