openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] make check failure


From: Ciaran Wills
Subject: Re: [Openexr-devel] make check failure
Date: Thu, 08 Jan 2004 10:48:54 +0000

On Wed, 2004-01-07 at 20:49, Drew Hess wrote:

> Anyway, Rod wrote the Shake plugin and has been testing it, so I'll try to 
> find out from him what he used.  But if your version of Shake is built 
> with 2.95, then chances are that 2.96 won't produce useable plugins for 
> it, because 2.96 has some of the new C++ ABI features which make it 
> object code-incompatible with earlier releases of gcc.

I found plugins compiled with 2.96 work until you try to use any dynamic
type features such as exceptions or dynamic casting.  I've been using
2.95.3 for all my Shake plugins for a while now with few problems.

If it helps anyone else, I got EXR and Shake working by building both
the OpenEXR libs and the plugin with 2.95.3 and
CXXFLAGS=-fsjlj-exceptions.  To catch exceptions I use

try {
    file = new Imf::RgbaInputFile(pImageName->asString().getString());
} catch (...) {
    NRiSys::error("Error!\n");
}

Trying to catch a specific exception didn't work.  This was all on
redhat 7.3.

Ciaran.





reply via email to

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