POV-Ray : Newsgroups : povray.programming : Compiling 3.7 RC7 with Visual Studio Express 2012 : Re: Compiling 3.7 RC7 with Visual Studio Express 2012 Server Time
29 Apr 2024 15:46:02 EDT (-0400)
  Re: Compiling 3.7 RC7 with Visual Studio Express 2012  
From: scott
Date: 14 Jul 2015 06:46:59
Message: <55a4e8a3$1@news.povray.org>
On 25/06/2015 19:23, atlaste wrote:
> scott <sco### [at] scottcom> wrote:
>> There are a few steps I needed to take to get this to work correctly.
>> This isn't necessarily the best way or the only way, it's simply what I
>> did to get it working.
>>
>> [... step 1-9 ...]
>
> Just tried it with VS2013. Still doesn't build, you need a few more steps for
> that. Here's the stuff you need in addition to the earlier steps:

Thanks for that, it prompted me to load up the latest source into VS 
Community Edition 2013.

> 10. Fix msvc.h:
>
>    #elif _MSC_VER >= 1800 && _MSC_VER < 1900
>   #define COMPILER_VER                      ".msvc13"
>   #define METADATA_COMPILER_STRING          "msvc 13"
>    #else
>
> 11. Search for 'using std::min'. Above the 'namespace', add '#include
> <algorithm>'.

I needed to add the #include to ImfHeader.h too otherwise I got lots of 
errors about std::min and std::max.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.