 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Best wishes for this new year, which is off to a funny start for me.
After my tests on Ubuntu, I decided to compile POVRay on MacOS Sequoia
(15.7.3).
I get sources here : https://github.com/POV-Ray/povray
I installed the libraries with brew.
Some information about the result:
> povray -version
POV-Ray 3.8.0-alpha.unofficial
This is an unofficial version compiled by:
kurtz le pirate <kur### [at] free fr>
The POV-Ray Team is not responsible for supporting this version.
Copyright 1991-2019 Persistence of Vision Raytracer Pty. Ltd.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Built-in features:
I/O restrictions: disabled
X Window display: disabled
Supported image formats: gif tga iff ppm pgm hdr png jpeg tiff
Unsupported image formats: openexr
Compilation settings:
Build architecture: x86_64-apple-darwin24.6.0
Built/Optimized for: x86_64-apple-darwin24.6.0 (using -march=native)
Compiler vendor: gnu
Compiler version: g++ 17.0.0
Compiler flags: -pipe -Wno-multichar -Wno-write-strings
-Wsuggest-override -O3 -ffast-math
-march=native -pthread
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.
Tested with several standard 3.8 scenes and multiple file formats with
this command line:
povray fractal1.pov +W800 +H600 +FN8
No error on output console.
Others info about lib with povray -? command:
Support libraries used by POV-Ray:
ZLib 1.2.12, Copyright 1995-2012 Jean-loup Gailly and Mark Adler
LibPNG 1.6.53, Copyright 1998-2012 Glenn Randers-Pehrson
LibJPEG 8, Copyright 1991-2016 Thomas G. Lane, Guido Vollbeding
LibTIFF 4.7.1, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
Boost 1.90, http://www.boost.org/
Does anyone have any idea what might be happening and
can give me a clue as to how to resolve this issue?
🤪
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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."
Bill P.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 1/3/26 12:15, kurtz le pirate wrote:
> In which file(s) should this option be added?
Something like:
./configure COMPILED_BY="wfp" CXXFLAGS="-fno-finite-math-only"
should work to add the compiler flag for official POV-Ray source releases.
Bill P.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |