openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] Makefile for Shake 3.50 Plug-in for Linux


From: Ciaran Wills
Subject: Re: [Openexr-devel] Makefile for Shake 3.50 Plug-in for Linux
Date: Thu, 07 Apr 2005 10:06:41 +0100

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]