|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 9/16/2015 4:10 PM, Benjamin Chambers wrote:
> So it looks like I could get around this by using the OpenEXR library,
> correct?
Oh geez, brain fart. Either path references "toFloat.h"
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 17.09.2015 um 00:11 schrieb Benjamin Chambers:
> On 9/16/2015 4:10 PM, Benjamin Chambers wrote:
>> So it looks like I could get around this by using the OpenEXR library,
>> correct?
>
> Oh geez, brain fart. Either path references "toFloat.h"
"toFloat.h" file is part of the "ilmbase" library (just like
"half.cpp"), which in turn is indeed a part of the OpenEXR library.
("ilm" is an acronym for "Industrial Light & Magic", the company that
originally developed the OpenEXR file format and still maintains the
library.)
What's special about "toFloat.h" (and also "eLut.h") is that these two
files are not part of the library's source file package, but are created
as part of the build process (presumably because their contents are
platform-specific).
Make sure that the project conversion from VS2010 to VS2015 has kept the
build dependencies and custom build steps intact; rebuilding the "Half"
project should automatically trigger a rebuild of the "eLut" and
"toFloat" projects first; those projects should in turn cause those
files to be created in the "libraries/ilmbase/Half" directory (unless
the respective file already exists and is up to date), which should be
accompanied by the build log output "Generating <filename>...".
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 9/18/2015 10:26 AM, clipka wrote:
> Make sure that the project conversion from VS2010 to VS2015 has kept the
> build dependencies and custom build steps intact; rebuilding the "Half"
> project should automatically trigger a rebuild of the "eLut" and
> "toFloat" projects first; those projects should in turn cause those
> files to be created in the "libraries/ilmbase/Half" directory (unless
> the respective file already exists and is up to date), which should be
> accompanied by the build log output "Generating <filename>...".
Thanks! This seems to be what the problem is. Here is the output from
building toFloat:
1>------ Rebuild All started: Project: toFloat, Configuration: Release
x64 ------
1> toFloat.cpp
1> openexr_toFloat.vcxproj ->
C:\Users\benja\Source\Repos\povray\windows\vs10\build\toFloat\x64\Release\toFloat.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
And for eLut:
1>------ Rebuild All started: Project: eLut, Configuration: Release x64
------
1> eLut.cpp
1> openexr_eLut.vcxproj ->
C:\Users\benja\Source\Repos\povray\windows\vs10\build\eLut\x64\Release\eLut.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
I'll take a look at the VS2010 project files, and see if I can set up
the VS2015 projects accordingly.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> I'll take a look at the VS2010 project files, and see if I can set up
> the VS2015 projects accordingly.
I posted some instructions a (long) while back on how to get it to work
on VS Express, I had the same issues initially so some of those steps I
posted might help you out.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 9/21/2015 1:03 AM, scott wrote:
>> I'll take a look at the VS2010 project files, and see if I can set up
>> the VS2015 projects accordingly.
>
> I posted some instructions a (long) while back on how to get it to work
> on VS Express, I had the same issues initially so some of those steps I
> posted might help you out.
>
>
I read through that before I started, and many of the changes you detail
no longer apply. However, I'm referring to it often as I work.
I forked a new branch today focused on getting it to compile in VS2015.
That way, I can keep all of my work separate.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 9/18/2015 12:07 PM, Benjamin Chambers wrote:
> On 9/18/2015 10:26 AM, clipka wrote:
>> Make sure that the project conversion from VS2010 to VS2015 has kept the
>> build dependencies and custom build steps intact; rebuilding the "Half"
>> project should automatically trigger a rebuild of the "eLut" and
>> "toFloat" projects first; those projects should in turn cause those
>> files to be created in the "libraries/ilmbase/Half" directory (unless
>> the respective file already exists and is up to date), which should be
>> accompanied by the build log output "Generating <filename>...".
>
> Thanks! This seems to be what the problem is. Here is the output from
> building toFloat:
> 1>------ Rebuild All started: Project: toFloat, Configuration: Release
> x64 ------
> 1> toFloat.cpp
> 1> openexr_toFloat.vcxproj ->
>
C:\Users\benja\Source\Repos\povray\windows\vs10\build\toFloat\x64\Release\toFloat.exe
>
> ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Now this is interesting. I've been over the XML for the project files,
and they APPEAR to be set up correctly to generate the header files.
However, the custom build step never runs.
I'll keep poking around in it and see what I can do.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oh, btw, I totally forgot: There's a third file that is created by the
OpenEXR build process on the fly,
"libraries/openexr/IlmImf/b44ExpLogTable.h", so make sure to take care
of that one as well.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |