[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] openExr & Shake
From: |
Drew Hess |
Subject: |
Re: [Openexr-devel] openExr & Shake |
Date: |
Wed, 5 Mar 2003 10:29:07 -0800 (PST) |
Hi Piotr,
Last time I tried (just a few days ago), gcc 2.96 compiled OpenEXR on my
RedHat 7.2 machine out of the box. You shouldn't need to make any changes
to OpenEXR to do this. What problems did you encounter that required
changes?
Mixing gcc 2.96 and gcc 2.95 C++ object files is problematic. Without
seeing your Shake plugin code, I can't say for certain that this is the
problem, but it's a possibility. See here for details:
http://gcc.gnu.org/gcc-2.96.html
As the page points out, you could try statically linking the gcc 2.96 C++
standard library into your plugin to see if that fixes the problem.
We've gotten the OpenEXR libs to compile in gcc 2.95 in the past, though
some hacking is required. If I recall correctly, some Imath classes or
class methods need to be commented out to make it work, but I don't think
they're used by IlmImf. If static linking (or something else) doesn't fix
your problem, let me know and I can go back and look at what we did to
make OpenEXR compile in gcc 2.95.
-dwh-
On Wed, 5 Mar 2003, Piotr Stanczyk wrote:
> Hi there, I've been asked to extend the basic shake i/o node to handle
> openExr image file format.
>
> There are a number of issues that have come up during this attempt. Most
> of it relating to the fact that shake wants g++ 2.95!
> Never-the-less, we have managed to build the libraries with g++ 2.96
> making local changes where needed.
>
> Back to shake, As a starting point I have used the format.cpp file that
> came with the SHake SDK. I have implemented the reader part of the node
> without too much difficulty and that seems to work just fine. However,
> the writer part is proving more stubborn.
> Seems that calls to Imf::OutputFile constructor cause a segmentation error.
> Does anyone have any tips on how to make this work?
>
> Thanks in advance
>
> Dr Piotr Stanczyk
>
>
>
>
>
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/openexr-devel
>
- [Openexr-devel] openExr & Shake, Piotr Stanczyk, 2003/03/05
- Re: [Openexr-devel] openExr & Shake,
Drew Hess <=
- Re: [Openexr-devel] openExr & Shake, Paul Schneider, 2003/03/05
- Re: [Openexr-devel] openExr & Shake, Kevin Wheatley, 2003/03/05
- Re: [Openexr-devel] openExr & Shake, Paul Schneider, 2003/03/05
- Re: [Openexr-devel] openExr & Shake, Matt Plec, 2003/03/06
- Re: [Openexr-devel] openExr & Shake, Paul Schneider, 2003/03/06
- Re: [Openexr-devel] openExr & Shake, Drew Hess, 2003/03/07
- Re: [Openexr-devel] openExr & Shake, Kevin Wheatley, 2003/03/07
- Re: [Openexr-devel] openExr & Shake, Piotr Stanczyk, 2003/03/21
- Re: [Openexr-devel] openExr & Shake, Piotr Stanczyk, 2003/03/21
- Re: [Openexr-devel] openExr & Shake, Alec Bartsch, 2003/03/21