On Wed, 2005-04-06 at 20:27, Angus Taggart wrote:
Hi,
Does anyone out there have a makefile to build an OpenEXR translator
for Shake3.50 on Linux that I can take a look at?
Hello Angus ;)
I'll not dump all our nested makefiles here, but this is the
commands it
generates to build our OpenEXR plugin:
g++ -frtti -march=pentiumpro -O3
-I/opt/nreal/shake-v3.50.0308/sdk/include/nrcc
-I/opt/nreal/shake-v3.50.0308/sdk/include/nrfx
-I/opt/nreal/shake-v3.50.0308/sdk/include/nrgl
-I/opt/nreal/shake-v3.50.0308/sdk/include/nrui -ffast-math -Wimplicit
-shared -fomit-frame-pointer -D_REENTRANT -D__SMP__ -DNODEBUG
-I/usr/include/OpenEXR -c -o OpenEXR.o OpenEXR.cc
g++ -shared -o OpenEXR-3.50.0308.so OpenEXR.o -lIlmImf -lImath -lIex
-lHalf -Wl,-Bsymbolic /usr/lib/libz.a
Giving -Bsymbolic to the linker was the key to fixing the libz
problems,
but I think you have to do something a bit different if you want to
statically link the EXR libs.
_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel