|
|
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
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)
...
-------------------------------------------------------------------
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%)
Post a reply to this message
|
|