[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [Openexr-devel] static EXR and dynamic stdc++ under linux
From: |
Pavel Ledin |
Subject: |
Re[2]: [Openexr-devel] static EXR and dynamic stdc++ under linux |
Date: |
Fri, 13 Apr 2007 15:29:57 +0400 |
Hello Florian,
Friday, April 13, 2007, 5:38:29 AM, you wrote:
> You may want to try explicitly listing the static libraries
> on the link line. For example:
> ../libs/exr/libILmImf.a ../libs/exr/libIlmThread.a
> instead of
> -L../libs/exr -lIlmImf -lIlmThread
It could not find library in this case.
Now I had put exr libraries to maya/lib dir and now it compiled fine,
looks like it compiled as static (no links to ".so" inside my
shaders_p.so).
But maya still crash during call my shader:
/usr/autodesk/maya8.5/bin/maya.bin: symbol lookup error:
/usr/autodesk/maya8.5/mentalray/lib/shaders_p.so: undefined symbol:
_ZN3Imf5SliceC1ENS_9PixelTypeEPcjjiidbb
LIB = -L/usr/autodesk/maya8.5/lib -shared -export-dynamic -lstdc++ -static
-lIlmImf -lIlmThread -lHalf -lIex -lImath -lzlib
--
Best regards,
Pavel Ledin aka Puppet mailto:address@hidden
Moscow, Russia