Re: Iex linking errors on OSX

Richard Addison-Wood <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
I wonder if your clang++ build would want:

IEXMATH_EXPORT
int getMathExcOn();

in IexMathFloatExc.h to have IEXMATH_EXPORT be #defined as extern 
instead of an empty string so that it treats getMathExcOn() as global?

On 10/26/13 12:35, Christopher Horvath wrote:
> Hey Folks,
>
> I get the following errors when trying to link PyAlembic on top of Iex 
> using ilmbase 2.0.1, when building on OSX Mavericks with clang++ and 
> -std=c++11:
>
> Undefined symbols for architecture x86_64:
> "Iex_2_0::getMathExcOn()"
>
> I checked the link order, and the library is included in the right 
> place. I checked the symbols in libIex.a, and they are plenty of 
> Iex_2_0:: symbols, just not this one.
>
> What might this be?
>
> Chris
>
> -- 
> I think this situation absolutely requires that a really futile and 
> stupid gesture be done on somebody's part. And we're just the guys to 
> do it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.