Hi all, 

when I try to compile IlmBase with Visual Studio (tested with 2013 and 2010), 
there are errors about missing __builtin_trap() when using the default 
CMake-generated project files. 

This is because PLATFORM_WINDOWS is not defined and  __builtin_trap() is only 
for Linux.  

This can be fixed by adding "/D PLATFORM_WINDOWS" (without quotes) to the CXX 
compiler flags in the CMake GUI (for all four configurations). However, it 
would be welcome to add that to the CMake script if building for Windows. 

Best regards 

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

Reply via email to