[Top][All Lists]
[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: |
Drew Hess |
Subject: |
Re: [Openexr-devel] Makefile for Shake 3.50 Plug-in for Linux |
Date: |
Thu, 07 Apr 2005 14:02:36 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) |
ergh, that's a leftover from ILM's internal build system. It
shouldn't be necessary and we certainly won't be using it in the
future. By default (in lieu of any PLATFORM_* defines), the code should
compile for GNU/Linux and GNU/Linux-like platforms.
In the OpenEXR source dist, PLATFORM_REDHAT_IA32 is only used in a
couple of regression tests... I'll need to go clean this up at some
point.
Places where a particular platform needs help, e.g., Windows, still
need PLATFORM_WINDOWS etc.
d
Paul Schneider <address@hidden> writes:
> 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
>>
>
>
>
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/openexr-devel
pgpB6L3uQSqLp.pgp
Description: PGP signature