Hi, Haggi. Thanks for the suggestions.

I'm not sure your LIKELY definition is going to work properly, but I have 
another idea.

I have a few proposals that I think will help, but I need you to test them.  
Please see this pull request, and let me know if it fixes the errors you 
encountered: https://github.com/OpenImageIO/oiio/pull/1103

If my patch doesn't make the errors go away, can you send me the specific full 
error messages? Thanks.



On Mar 28, 2015, at 8:48 AM, haggi krey <[email protected]> wrote:

> Hi,
> 
> just tried to compile the newest master on windows with VS2013.
> 
> a.)
> It seems that the LIKELY definition is not accepted in VisualStudio. 
> Following stackoverflow, I simply removed it by
> #if !defined(__GNUC__)
> #define LIKELY
> #endif
> What seems to work. 
> 
> b.)
> In simd_test compile I got an error:
> error C2039: 'min' : is not a member of 'std'
> After some search I added the inlcude:
> #include <algorithm>
> What worked. 
> 
> c.)
> For some reasons I had to define NOMINMAX to compile OpenImageIO and 
> OpenImageIO_Util.
> 
> 
> As always, I'm not sure if my changes are correct, but maybe this report 
> helps a somehow.
> 
> haggi
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to