POV-Ray : Newsgroups : povray.advanced-users : Check for missing include files? : Re: Check for missing include files? Server Time
24 Feb 2024 17:56:17 EST (-0500)
  Re: Check for missing include files?  
From: Mike Horvath
Date: 10 Jul 2019 15:56:00
Message: <5d2642d0$1@news.povray.org>
On 7/10/2019 3:44 PM, Mike Horvath wrote:
> Normally POV-Ray quits with an error if it tries to load an include file 
> but it is missing. Is there a way to spawn a warning when this happens, 
> and continue with the render? I am trying to track whether this happens 
> within a project I am working on, and can't think of a better method.
> Thanks.
> Michael

I found this in the docs.

     Attempts to open the file specified by the string S. The current
     directory and all library directories specified by the Library_Path
     or +L options are also searched. See Library Paths for details.
     Returns 1 if successful and 0 if unsuccessful.

But it only works if you know the name of the file beforehand. I am 
testing other people's code and there are about 1000 files to check...


Post a reply to this message

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