POV-Ray : Newsgroups : povray.macintosh : building povray on mac : Re: building povray on mac Server Time
5 Jan 2026 08:02:01 EST (-0500)
  Re: building povray on mac  
From: kurtz le pirate
Date: 3 Jan 2026 12:15:47
Message: <69594ec3$1@news.povray.org>
On 03/01/2026 17:09, William F Pokorny wrote:
> On 1/2/26 10:59, kurtz le pirate wrote:
>> Not everything is perfect, but POV-Ray seems to be working except 
>> that... when I try to render I get a "empty" image with only the 
>> background color and the output file has been successfully created.
> 
> The blank render is one of a few bad results of newer g++ versions 
> changing the fast-math flag behavior. While running the configure script 
> add the additional flag mentioned below:
> 
> "Those using g++ compiler version 13 or later must add the compiler flag 
> -fno-finite-math-only, if using the flag -ffast-math."

* Firstly: Thank you for your reply.



* Secondly: So this problem is known. I feel better.



* Finally: I tried adding the -fno-finite-math-only option in several 
files (where CXXFLAGS=... ), but it is not taken into account. In the 
end, I still have:

povray --V
...
Compiler flags: -pipe -Wno-multichar -Wno-write-strings
                 -Wsuggest-override -O3 -ffast-math
                 -march=native -pthread

no /-fno-finite-math-only/



In which file(s) should this option be added?

./configure does not seem to accept this option,
or I did not know how to do it :(





-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

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