POV-Ray : Newsgroups : povray.general : qtpovray-3.80.1 for Linux : Re: qtpovray-3.80.1 for Linux Server Time
5 May 2024 11:02:37 EDT (-0400)
  Re: qtpovray-3.80.1 for Linux  
From: hugo giulietti
Date: 1 Aug 2018 18:16:00
Message: <20180801191559.5db76ff231ab4eebafc9a2a1@gmail.com>
On Wed, 1 Aug 2018 05:33:20 -0400
dick balaska <dic### [at] buckosoftcom> wrote:

> On 07/31/2018 06:03 AM, hugo giulietti wrote:
> > Hello,
> > 
> > I installed qtpovray in my lubuntu 16.04 using the ppa for automatic updates.
> > After my first test using "optics.pov" i got this parse error from the povray's
output:
> > 
> > "Parse Error: Macros require #version 3.1 or later but #version 3.00 is set.
> > at File: colors.inc Line: 167 Col: 2"
> > 
> > Very rare message. The colors.inc file is standard; i have not touched in any way.
I don't know how to fix this because the #version directive was not modified at all.
> > 
> 
> Do you have other versions of POV-Ray installed?
> 
> Where did you get optics.pov from?
> 
> I assume you are trying optics.pov from
> file:///usr/share/qtpovray-3.8/scenes/advanced/optics.pov
> 
> I assume you installed qtpovray-includes and qtpovray-extras
> since you have colors.inc and optics.pov
> 
  Hi,
  I have installed povray 3.7 from the Ubuntu repos, using the standard software
manager Synaptics. The optics.pov (and all demo scene files) are from this
installation.
  I did not know that there is qtpovray-includes and qtpovray-extras. I have not
installed this packages. I will install these after posting this writing.
  The installation of qtpovray installed a folder with *.inc files in:
/usr/share/qtpovray-3.8/include, so it is using that
folder.


> What happens if you try "Basic scene 01 - Checkered plane" from the
> insert menu?
> 
> I just tried it on two machines and it was fine.
> ubuntu 16.04, which is my primary workstation
> and
> mint 18.3 which is a clean "install from the ppa" machine (no compiling,
> no multiple working versions)
> 
> cornell.pov worked for me too.
> file:///usr/share/qtpovray-3.8/scenes/radiosity/cornell.pov
> 
> ---------------------------------------------------------------
> What cpu are you using?
> 
> You don't have the "Dynamic optimizations:" in the banner. i.e.
> 
> Support libraries used by POV-Ray:
>   ZLib 1.2.8, Copyright 1995-2012 Jean-loup Gailly and Mark Adler
>   LibPNG 1.2.54, Copyright 1998-2012 Glenn Randers-Pehrson
>   LibJPEG 8, Copyright 1991-2016 Thomas G. Lane, Guido Vollbeding
>   LibTIFF 4.0.6, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
>   Boost 1.58, http://www.boost.org/
>   OpenEXR 2.2.0 and IlmBase 2.2.0, Copyright (c) 2002-2011 Industrial
> Light &
>  Magic.
> 
> Dynamic optimizations:
>   CPU detected: Intel,SSE2,AVX,AVX2,FMA3
>   Noise generator: avx2fma3-intel (hand-optimized by Intel)
> 
> Parser Options
>   Input file: cornell.pov
>   Remove bounds........On
>   Split unions.........Off
>   Library paths:
>     /usr/share/qtpovray-3.8/include
>   Clock value:    0.000  (Animation off)
>   ...
> 
> -------------------------------------------------------------------
  I'm using an very old 1-core cpu AMD Sempron LE-1150 2.0 Ghz without AVX,AVX2,FMA3
support *but* with SSE2 instructions. I don't know why these was not detected.

> 
> This is a really strange problem. It's like the parser is broken.
> Like clipka said, in your colors.inc problem, the version is set at line
> #13, yet is reporting something different at line #167.  This makes no
> sense (so far).
>
https://github.com/dickbalaska/qtpovray/blob/qtpovray/distribution/include/colors.inc
> 
> -- 
> dik
> Rendered 328976 of 330000 (99%)

I think that the "macro" declaration in line 167 needs a "#version" > 3.1 but the
"detected" version is 3.0. Resolving
the version issue will resolve the macro issue. (I'm guessing)


Post a reply to this message

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