POV-Ray : Newsgroups : povray.unofficial.patches : Error in Mechsim Tutorial Server Time
31 Oct 2024 19:27:52 EDT (-0400)
  Error in Mechsim Tutorial (Message 1 to 4 of 4)  
From: Mike
Subject: Error in Mechsim Tutorial
Date: 24 Jun 2005 15:25:00
Message: <web.42bc5a03c22a8d403948f8f0@news.povray.org>
All Tutorials (2 through 9)from the mechsim tutorial in the 1.2
documentation generates this error on my system when run
---START SNIPPET---
  File: C:ArtPOV-Ray for Windows v3.6INCLUDEmechsim.inc  Line: 14
  File Context (5 lines):
  // -w320 -h240 +a0.3 -j +kff100
  #version unofficial megapov 1.2;
  #include "mechsim
  Parse Error: Too many nested include files.
---FINISH SNIPPET---


My system is as a Windows XP (Sp2) running on an IBM IntelliStation M Pro (3
GHz processor, 1GB Ram).

I have re-installed everything (POVRay 3.6.1, MegaPOV, fixit DLLs for WinPov
GUI) from scratch.

Any ideas?


Post a reply to this message

From: Christoph Hormann
Subject: Re: Error in Mechsim Tutorial
Date: 24 Jun 2005 15:55:01
Message: <d9hoas$db5$1@chho.imagico.de>
Mike wrote:
> All Tutorials (2 through 9)from the mechsim tutorial in the 1.2
> documentation generates this error on my system when run
> ---START SNIPPET---
>   File: C:ArtPOV-Ray for Windows v3.6INCLUDEmechsim.inc  Line: 14
>   File Context (5 lines):
>   // -w320 -h240 +a0.3 -j +kff100
>   #version unofficial megapov 1.2;
>   #include "mechsim
>   Parse Error: Too many nested include files.
> ---FINISH SNIPPET---

You are seemingly doing something very wrong - that code snippet is not 
from mechsim.inc so you seem to have renamed a file to 'mechsim.inc' - 
this probably results in recursive inclusion.

Replace this wrong mechsim.inc file with the one from the MegaPOV 
distribution and it will probably work.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Mike
Subject: Re: Error in Mechsim Tutorial
Date: 27 Jun 2005 15:15:01
Message: <web.42c0500738b707bc3948f8f0@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> Mike wrote:
> > All Tutorials (2 through 9)from the mechsim tutorial in the 1.2
> > documentation generates this error on my system when run
> > ---START SNIPPET---
> >   File: C:ArtPOV-Ray for Windows v3.6INCLUDEmechsim.inc  Line: 14
> >   File Context (5 lines):
> >   // -w320 -h240 +a0.3 -j +kff100
> >   #version unofficial megapov 1.2;
> >   #include "mechsim
> >   Parse Error: Too many nested include files.
> > ---FINISH SNIPPET---
>
> You are seemingly doing something very wrong - that code snippet is not
> from mechsim.inc so you seem to have renamed a file to 'mechsim.inc' -
> this probably results in recursive inclusion.
>
> Replace this wrong mechsim.inc file with the one from the MegaPOV
> distribution and it will probably work.
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 03 May. 2005 _____.//^>_*_<^/.______


I uninstalled PovRay and made sure to delete the entire install directory.
I then re-installed POVRay 3.6.1a and MegaPov 1.2 beta.  I also downloaded
the latest version of IsoCSG (0.7) and referenced it with a Library_Path
entry in the master POVRAY.INI

Now the tutorials (5 and 6, didn't check the others) fail with the following
error:
---START SNIPPET---
Saved simulation data to file tut05.dat
Generating Objects...Done
File: C:artPOV-Ray for Windows v3.6INCLUDEmechsim.inc  Line: 577
File Context (5 lines):
  #fclose FILE
 #end
 #debug "Donen
Parse Error: Expected 'object', } found instead
---FINISH SNIPPET---

This appears to be related to the line
  MechSim_Show_All_Objects(-1, true, -1, "")


Post a reply to this message

From: Christoph Hormann
Subject: Re: Error in Mechsim Tutorial
Date: 27 Jun 2005 16:25:02
Message: <d9pn6m$kuu$1@chho.imagico.de>
Mike wrote:
> 
> I uninstalled PovRay and made sure to delete the entire install directory.
> I then re-installed POVRay 3.6.1a and MegaPov 1.2 beta.  I also downloaded
> the latest version of IsoCSG (0.7) and referenced it with a Library_Path
> entry in the master POVRAY.INI
> 
> Now the tutorials (5 and 6, didn't check the others) fail with the following
> error:
> ---START SNIPPET---
> Saved simulation data to file tut05.dat
> Generating Objects...Done
> File: C:artPOV-Ray for Windows v3.6INCLUDEmechsim.inc  Line: 577
> File Context (5 lines):
>   #fclose FILE
>  #end
>  #debug "Donen
> Parse Error: Expected 'object', } found instead
> ---FINISH SNIPPET---

That's a completely different error but i still can't reproduce it.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

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