Boglin
02-11-2005, 04:19 PM
Hiya,
I'm trying to get some of the custom shaders working on my linux box - especially the mix8layer and dirtmap shaders - so far with no luck :cry: I've looked round the web - but haven't found a solution.
I'll go through my steps so far... (concentrating on mentalray standalone because it seems to be able to give a more verbose output)
Attempt 1: - from a precompiled download
x Copied the dynamic library (.so) part into my mentalray/lib directory
x Copied the mentalRay include (.mi) part into my mentalray/include directory
x Added
link "{SHADERBASE}/lib/mix8layer.{DSO}"
mi "{SHADERBASE}/include/mix8layer.mi"
to my ray3rc file.
Trying to render gives the following link error:
LINK 0.0 error 191006: failed to load library <cut> mix8layer.so: undefined symbol: __gxx_personality_v0
When the mi file is read, no suprise, it can't find the mix8layer function.
Digging around this seems to be related to having been compiled with gcc rather than g++. As I had the source I moved onto...
Attempt 2: - compiling source
x Compiled source (basing on the Makefiles from the mentalRay devkit) using g++ for the linking.
x Copied over previous library
Trying to render gives:
LINK 0.0 error 191006: failed to load library <cut> mix8layer.so: cannot open shared object file: No such file or directory
I've checked the MI_LIBRARY_PATH is pointing at the right place - and everything else I can think of. Including opening the permissions up (chmod 777) copying the .so to /lib - playing with ld.so.conf - and even turning on LD_DEBUG.
At this point I'm stuck and probably just need advice from someone who has done this before. I'd also love to know a good place to look to start writing shaders from scratch. Have found bits and pieces but nothing particularly helpful.
Thanks for any help
B.
I'm trying to get some of the custom shaders working on my linux box - especially the mix8layer and dirtmap shaders - so far with no luck :cry: I've looked round the web - but haven't found a solution.
I'll go through my steps so far... (concentrating on mentalray standalone because it seems to be able to give a more verbose output)
Attempt 1: - from a precompiled download
x Copied the dynamic library (.so) part into my mentalray/lib directory
x Copied the mentalRay include (.mi) part into my mentalray/include directory
x Added
link "{SHADERBASE}/lib/mix8layer.{DSO}"
mi "{SHADERBASE}/include/mix8layer.mi"
to my ray3rc file.
Trying to render gives the following link error:
LINK 0.0 error 191006: failed to load library <cut> mix8layer.so: undefined symbol: __gxx_personality_v0
When the mi file is read, no suprise, it can't find the mix8layer function.
Digging around this seems to be related to having been compiled with gcc rather than g++. As I had the source I moved onto...
Attempt 2: - compiling source
x Compiled source (basing on the Makefiles from the mentalRay devkit) using g++ for the linking.
x Copied over previous library
Trying to render gives:
LINK 0.0 error 191006: failed to load library <cut> mix8layer.so: cannot open shared object file: No such file or directory
I've checked the MI_LIBRARY_PATH is pointing at the right place - and everything else I can think of. Including opening the permissions up (chmod 777) copying the .so to /lib - playing with ld.so.conf - and even turning on LD_DEBUG.
At this point I'm stuck and probably just need advice from someone who has done this before. I'd also love to know a good place to look to start writing shaders from scratch. Have found bits and pieces but nothing particularly helpful.
Thanks for any help
B.
