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: Paul Schneider
Subject: Re: [Openexr-devel] Makefile for Shake 3.50 Plug-in for Linux
Date: Thu, 7 Apr 2005 13:28:14 -0700


I think you want a

-DPLATFORM_REDHAT_IA32

in there, although grepping through the source it looks like you can get away without it (for now). There aren't any conditionals checking for that symbol in the EXR headers, but there probably could be at some point in the future...


On Apr 7, 2005, at 2:06 AM, Ciaran Wills wrote:

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






reply via email to

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