POV-Ray : Newsgroups : povray.general : Strange error when using macros Server Time
11 Aug 2024 19:39:25 EDT (-0400)
  Strange error when using macros (Message 1 to 5 of 5)  
From: Dan
Subject: Strange error when using macros
Date: 11 Jun 1999 00:07:52
Message: <37608C7C.AF638564@earthlink.net>
Hello,

I was trying out the macros in the macros subdirectory.  I tried running
each one, but got the following error:

"C:\Program Files\POV-Ray for Windows v3.1\scenes\marcos\macro2.pov:27:
error:  Macros require #version 3.1 but #version 3.00 is set."

The above is just a specific example, but the same overall error message
obtained.  I can't figure this out - I looked in the documentation and
the macros *seemed* to be OK; for example, what I assume is the line
that caused the error above (27) is:

#macro Turn_Me(Stuff,Degrees,Axis)

I am running 3.1e.  I haven't patched it, or otherwise modified it to my
knowledge.  What on earth could be causing this problem?  As it now
stands, I cannot execute any macros of any kind.

While I'm at it, here is a second question.  I use Moray as my modeller,
and for some odd reason Povray states every time it renders that the
default ini file is "x," a file I created a long time ago.  It doesn't
seem to make any difference to the final result, but...why does it keep
calling a file I haven't used in months?

Thanks in advance for any help,

Dan


Post a reply to this message

From: Nieminen Mika
Subject: Re: Strange error when using macros
Date: 11 Jun 1999 03:49:23
Message: <3760bf83@news.povray.org>
Dan <sei### [at] earthlinknet> wrote:
: I was trying out the macros in the macros subdirectory.  I tried running
: each one, but got the following error:

: "C:\Program Files\POV-Ray for Windows v3.1\scenes\marcos\macro2.pov:27:
: error:  Macros require #version 3.1 but #version 3.00 is set."

  This happens if you have version 3.0 set in your povray.ini.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Dan
Subject: Re: Strange error when using macros
Date: 11 Jun 1999 09:09:28
Message: <37610B71.D1B11414@earthlink.net>
Nieminen Mika wrote:

> Dan <sei### [at] earthlinknet> wrote:
> : I was trying out the macros in the macros subdirectory.  I tried running
> : each one, but got the following error:
>
> : "C:\Program Files\POV-Ray for Windows v3.1\scenes\marcos\macro2.pov:27:
> : error:  Macros require #version 3.1 but #version 3.00 is set."
>
>   This happens if you have version 3.0 set in your povray.ini.
>
> --

Thank you.  I looked for all examples of povray.ini, and found one instance in
the renderer subdirectory.  How would I go about fixing it?


Post a reply to this message

From: Nieminen Mika
Subject: Re: Strange error when using macros
Date: 11 Jun 1999 09:57:36
Message: <376115d0@news.povray.org>
Dan <sei### [at] earthlinknet> wrote:
: Thank you.  I looked for all examples of povray.ini, and found one instance in
: the renderer subdirectory.  How would I go about fixing it?

  Edit it and remove the version line.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Dan
Subject: Re: Strange error when using macros
Date: 11 Jun 1999 11:01:20
Message: <376125AA.54A7A176@earthlink.net>
Thank you again.  I was able to fix the problem with your guidance.  Oddly enough,
the problem was not with the main ini file (which had no mention of a version
number), but with the secondary ini file (the one I mentioned in the original
post.)  Once I removed the version number there, everything worked fine.

Dan

Nieminen Mika wrote:

> Dan <sei### [at] earthlinknet> wrote:
> : Thank you.  I looked for all examples of povray.ini, and found one instance in
> : the renderer subdirectory.  How would I go about fixing it?
>
>   Edit it and remove the version line.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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