That should be achievable by setting a preprocessor flag in Cmake...

Sent from my iPhone

> On 2014/07/16, at 9:53, "Mike Wong | ax.gmail" <[email protected]> wrote:
> 
> Concerning min/max macros problem on windows, here's the suggested fix from 
> M$ :
> 
> http://support.microsoft.com/kb/143208
> 
> 
>> On Tue, Jul 15, 2014 at 7:06 PM, Thorsten Kaufmann 
>> <[email protected]> wrote:
>> So i fixed all of them in my fork and added a pull request: 
>> https://github.com/openexr/openexr/pull/103
>> 
>>  
>> 
>> Compiles cleanly for me on win7 x64 vs 2013 express
>> 
>>  
>> 
>> Cheers,
>> 
>> Thorsten
>> 
>>  
>> 
>>  
>> 
>> Thorsten Kaufmann
>> Production Pipeline Architect 
>> 
>> Mackevision Medien Design GmbH
>> Forststraße 7
>> 70174 Stuttgart
>> 
>> T  T +49 711 93 30 48 606
>> F  +49 711 93 30 48 90
>> M +49 151 19 55 55 02
>> 
>> [email protected]
>> www.mackevision.de
>> 
>> Geschäftsführer: Armin Pohl, Joachim Lincke, Karin Suttheimer
>> HRB 243735 Amtsgericht Stuttgart
>> 
>> Von: Karl Rasche [mailto:[email protected]] 
>> Gesendet: Montag, 14. Juli 2014 22:47
>> An: Nick
>> Cc: Thorsten Kaufmann; [email protected]
>> 
>> 
>> Betreff: Re: [Openexr-devel] 2.2.0 release plans
>>  
>> 
>>  
>> 
>> It looks like the issues in IlmImfUtil - the undefined symbols in 
>> IlmImfUtilTest - are caused by the same issue.
>> 
>> On Mon, Jul 14, 2014 at 12:26 PM, Nick <[email protected]> wrote:
>> 
>> Those sound like the right fix, and should be added to the distro. 
>> 
>> Sent from my iPhone
>> 
>> 
>> On 2014/07/14, at 8:36, "Thorsten Kaufmann" 
>> <[email protected]> wrote:
>> 
>> Got it to build (Note: IlmImfTest and IlmImfUtilTest were excluded and threw 
>> a lot of unresolved externals. For now I concentrate on the main projects)
>> 
>>  
>> 
>> I had to add #include "ImfExport.h" and also add IMF_EXPORT to “bool 
>> isTiled” in ImfPartType to resolve the external. No idea if this is a good 
>> idea or going to work in real applications though heh
>> 
>>  
>> 
>> Cheers,
>> 
>> Thorsten
>> 
>>  
>> 
>>  
>> 
>> Thorsten Kaufmann
>> Production Pipeline Architect
>> 
>> Mackevision Medien Design GmbH
>> Forststraße 7
>> 70174 Stuttgart
>> 
>> T  T +49 711 93 30 48 606
>> F  +49 711 93 30 48 90
>> M +49 151 19 55 55 02
>> 
>> [email protected]
>> www.mackevision.de
>> 
>> Geschäftsführer: Armin Pohl, Joachim Lincke, Karin Suttheimer
>> HRB 243735 Amtsgericht Stuttgart
>> 
>>  
>> 
>>  
>> 
>> 
>> _______________________________________________
>> Openexr-devel mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>> 
> 
> _______________________________________________
> Openexr-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/openexr-devel
_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to