POV-Ray : Newsgroups : povray.programming : toFloat.h missing : Re: toFloat.h missing Server Time
19 Apr 2024 21:21:02 EDT (-0400)
  Re: toFloat.h missing  
From: Benjamin Chambers
Date: 16 Sep 2015 18:10:49
Message: <55f9e8e9@news.povray.org>
On 9/16/2015 2:41 PM, Cousin Ricky wrote:
> Benjamin Chambers <ben### [at] outlookcom> wrote:
>> So I'm trying to compile the source with VS2015, and the very first
>> error I find is that the file "toFloat.h" is missing.
>>
>> I cannot find this file anywhere in the source; is it meant to be
>> auto-generated somehow?
>
> That file isn't even /referenced/ anywhere in the source.  Could there be a
> problem with your VS setup?
>
>
>
povray\libraries\ilmbase\Half\half.cpp:
   #if defined (OPENEXR_DLL)
   __declspec(dllexport) half::uif _toFloat[1 << 16] =
       #include "toFloat.h"
   __declspec(dllexport) unsigned short _eLut[1 << 9] =
       #include "eLut.h"
   #else
   const half::uif half::_toFloat[1 << 16] =
       #include "toFloat.h"
   const unsigned short half::_eLut[1 << 9] =
       #include "eLut.h"
   #endif

So it looks like I could get around this by using the OpenEXR library, 
correct?


Post a reply to this message

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