The problem is that BaseExc derives from std::string, which doesn't have a dllexport in MSVC2010 and onwards, and so in our case, actually broke the build.

We patched our version so that BaseExc uses std::string as a member variable, rather than deriving from it. This was easy enough to do, since this change only affects testBaseExc.cpp.

 - ½

On 13-12-10 11:43 AM, Sebastian Elsner wrote:
On 12/10/2013 05:23 PM, Piotr Stanczyk wrote:
Hi Paul,

Let me take a quick look at the CMake part of this to make sure this is covered. I'll have to dig into the exception part on windows as it is not something I am familiar with. Does anyone know if this has been an issue on previous VS versions?

Yes, I forgot to mention that I use VS 2010 and have the same issue.



On 10 December 2013 07:09, Paul Miller <p...@fxtech.com <mailto:p...@fxtech.com>> wrote:

    On 11/26/2013 10:50 AM, Piotr Stanczyk wrote:

        OpenEXR v2.1.0 has been released and is available for
        download. This
        release includes the following components (version locked):

          * OpenEXR: v2.1.0
          * IlmBase: v2.1.0
          * PyIlmBase: v2.1.0
          * OpenEXR_Viewers: v2.1.0


    I found a couple build problems on Visual Studio 2012 (using
    either the included project files or via cmake):

    1. PLATFORM_WINDOWS is not set anywhere - this results in a
    compile failure in IexBaseExc.cpp (__builtin_trap() not found).

    Manually adding this to IlmBaseConfig.h resolved this.

    2. there are a bunch of warnings of the type:

    non dll-interface class 'Iex_2_1::BaseExc' used as base for
    dll-interface class 'Iex_2_1::TypeExc'




    _______________________________________________
    Openexr-devel mailing list
    Openexr-devel@nongnu.org <mailto:Openexr-devel@nongnu.org>
    https://lists.nongnu.org/mailman/listinfo/openexr-devel




_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel


--
check outwww.pointcloud9.com

Sebastian Elsner - Pipeline Technical Director - RISE

t: +49 30 20180300flor...@risefx.com
f: +49 30 61651074www.risefx.com

RISE FX GmbH
Schlesische Strasse 28, Aufgang B, 10997 Berlin
c/o action concept, An der Hasenkaule 1-7, 50354 Hürth
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B


_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to