POV-Ray : Newsgroups : povray.programming : toFloat.h missing Server Time
26 Dec 2024 07:14:17 EST (-0500)
  toFloat.h missing (Message 10 to 19 of 19)  
<<< Previous 9 Messages Goto Initial 10 Messages
From: clipka
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 15:04:36
Message: <56044944@news.povray.org>
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

From: clipka
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 15:22:06
Message: <56044d5e@news.povray.org>
Am 24.09.2015 um 18:29 schrieb Benjamin Chambers:

> 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.

Just a hunch:

- Could it be due to the fact that (at least in the vs2010 projects) the
information for the respective custom build step is split across two
separate <CustomBuildStep> tags?

- Could it be that the custom build step does run after all, but doesn't
work properly because it contains an output redirection and the VS2015
build system somehow fails to handle this properly?


Post a reply to this message

From: Benjamin Chambers
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 15:34:49
Message: <56045059$1@news.povray.org>
On 9/24/2015 1:22 PM, clipka wrote:
> Just a hunch:
>
> - Could it be due to the fact that (at least in the vs2010 projects) the
> information for the respective custom build step is split across two
> separate <CustomBuildStep> tags?

Manually combining the tags in the project file had no effect.

> - Could it be that the custom build step does run after all, but doesn't
> work properly because it contains an output redirection and the VS2015
> build system somehow fails to handle this properly?

Removing the redirect still doesn't run the custom build step.

I've posted in the MSDN forums, asking if anyone knows why it wouldn't 
run, but haven't received an answer yet. In the meantime, I'll manually 
generate the header files, but this is something that needs to be sorted 
out eventually...


Post a reply to this message

From: clipka
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 15:44:51
Message: <560452b3$1@news.povray.org>
Am 24.09.2015 um 18:29 schrieb Benjamin Chambers:

> 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.

As far as this is concerned, while testing with VS2010 I just noticed
that the description ("Creating toFloat.h..." or whatever) isn't
actually printed to the build output even if the custom build step
obviously runs (as demonstrated by toFloat.h reappearing after having
been deleted).

A hint that the custom build step was run seems to be a log file
generated in "build\toFloat\x64\Release" (in case of building for x64),
named "toFloat.write.1.tlog".

If you can't get the Custom Build Step mechanism to do the job, you
might want to try the Post-Build Event mechanism instead, though IIRC
there was /something/ undesirable about it.


Post a reply to this message

From: Benjamin Chambers
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 17:55:44
Message: <56047160$1@news.povray.org>
On 9/24/2015 1:44 PM, clipka wrote:
> As far as this is concerned, while testing with VS2010 I just noticed
> that the description ("Creating toFloat.h..." or whatever) isn't
> actually printed to the build output even if the custom build step
> obviously runs (as demonstrated by toFloat.h reappearing after having
> been deleted).
>
> A hint that the custom build step was run seems to be a log file
> generated in "build\toFloat\x64\Release" (in case of building for x64),
> named "toFloat.write.1.tlog".
>
> If you can't get the Custom Build Step mechanism to do the job, you
> might want to try the Post-Build Event mechanism instead, though IIRC
> there was /something/ undesirable about it.

I've tried both, actually, and neither one indicates in the log file 
that the step was run, nor do they generate the header file.


Post a reply to this message

From: clipka
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 18:18:00
Message: <56047698$1@news.povray.org>
Am 24.09.2015 um 23:55 schrieb Benjamin Chambers:
> On 9/24/2015 1:44 PM, clipka wrote:
>> As far as this is concerned, while testing with VS2010 I just noticed
>> that the description ("Creating toFloat.h..." or whatever) isn't
>> actually printed to the build output even if the custom build step
>> obviously runs (as demonstrated by toFloat.h reappearing after having
>> been deleted).
>>
>> A hint that the custom build step was run seems to be a log file
>> generated in "build\toFloat\x64\Release" (in case of building for x64),
>> named "toFloat.write.1.tlog".
>>
>> If you can't get the Custom Build Step mechanism to do the job, you
>> might want to try the Post-Build Event mechanism instead, though IIRC
>> there was /something/ undesirable about it.
> 
> I've tried both, actually, and neither one indicates in the log file
> that the step was run, nor do they generate the header file.

That's certainly strange. It does build the .exe that's supposed to
generate them, right?


Post a reply to this message

From: Benjamin Chambers
Subject: Re: toFloat.h missing
Date: 24 Sep 2015 19:11:52
Message: <56048338@news.povray.org>
On 9/24/2015 4:17 PM, clipka wrote:
> Am 24.09.2015 um 23:55 schrieb Benjamin Chambers:
>> On 9/24/2015 1:44 PM, clipka wrote:
>>> As far as this is concerned, while testing with VS2010 I just noticed
>>> that the description ("Creating toFloat.h..." or whatever) isn't
>>> actually printed to the build output even if the custom build step
>>> obviously runs (as demonstrated by toFloat.h reappearing after having
>>> been deleted).
>>>
>>> A hint that the custom build step was run seems to be a log file
>>> generated in "build\toFloat\x64\Release" (in case of building for x64),
>>> named "toFloat.write.1.tlog".
>>>
>>> If you can't get the Custom Build Step mechanism to do the job, you
>>> might want to try the Post-Build Event mechanism instead, though IIRC
>>> there was /something/ undesirable about it.
>>
>> I've tried both, actually, and neither one indicates in the log file
>> that the step was run, nor do they generate the header file.
>
> That's certainly strange. It does build the .exe that's supposed to
> generate them, right?
>

Yes, and I ran it from the command line to generate the necessary headers.

There may be something odd with my specific installation causing this issue.


Post a reply to this message

From: Benjamin Chambers
Subject: Re: toFloat.h missing
Date: 27 Sep 2015 19:25:56
Message: <56087b04$1@news.povray.org>
I finally got the custom build step to generate the header as needed. 
I'm not sure which change made it, but what I did in the end to was to 
create a new project file, set it to run after link (instead of 
manifest), and set an Additional Dependency of $(TargetPath).

We'll see as I work with the other header-generating projects which 
change (or combination of them) was necessary.


Post a reply to this message

From: Phane
Subject: Re: toFloat.h missing
Date: 29 Sep 2016 04:30:01
Message: <web.57ecd0a813fa3f6a285e69020@news.povray.org>
Benjamin Chambers <ben### [at] outlookcom> wrote:
> I finally got the custom build step to generate the header as needed.
> I'm not sure which change made it, but what I did in the end to was to
> create a new project file, set it to run after link (instead of
> manifest), and set an Additional Dependency of $(TargetPath).
>
> We'll see as I work with the other header-generating projects which
> change (or combination of them) was necessary.

Hi,
please Benjamin can you share your MSVC15 Project ?
I got same error plus some related to boost so if you have a working solution
for MSVC2015 on windows x64 I'll like to try it

regards


Post a reply to this message

From: clipka
Subject: Re: toFloat.h missing
Date: 29 Sep 2016 13:03:17
Message: <57ed4955$1@news.povray.org>
Am 29.09.2016 um 10:28 schrieb Phane:
> Benjamin Chambers <ben### [at] outlookcom> wrote:
>> I finally got the custom build step to generate the header as needed.
>> I'm not sure which change made it, but what I did in the end to was to
>> create a new project file, set it to run after link (instead of
>> manifest), and set an Additional Dependency of $(TargetPath).
>>
>> We'll see as I work with the other header-generating projects which
>> change (or combination of them) was necessary.
> 
> Hi,
> please Benjamin can you share your MSVC15 Project ?
> I got same error plus some related to boost so if you have a working solution
> for MSVC2015 on windows x64 I'll like to try it

I would recommend trying a more recent version; The incompatibilities
with VS2015 have been ironed out in the master branch, and the VS2010
projects should build fine after auto-conversion.


Post a reply to this message

<<< Previous 9 Messages Goto Initial 10 Messages

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