POV-Ray : Newsgroups : povray.windows : some question about windows cmd : Re: some question about windows cmd Server Time
1 Feb 2023 21:38:41 EST (-0500)
  Re: some question about windows cmd  
From: Alain
Date: 20 Mar 2018 19:41:56
Message: <5ab19c44@news.povray.org>
Le 18-03-19 à 01:57, Stephen a écrit :
> On 19/03/2018 00:50, 944291641 wrote:
>> Stephen <mca### [at] aolcom> wrote:
>>> On 18/03/2018 15:00, 944291641 wrote:
>>>> when i use windows cmd to execute my pov program,it cannot find some 
>>>> file in the
>>>> path of pov program:
>>>> for example:
>>>> my cmd is:"start pvengine /render G:\\patht_to_code\\model.ini"
>>>> and code like this:
>>>> + source
>>>>     t1.pov // it contain "#include "TOMLEAF.inc"" ,but no means
>>>>     TOMLEAF.inc
>>>>     something else
>>>>
>>>> could anyone help me? thanks a million!
>>>>
>>>>
>>>
>>> Try implicitly defining the path to the *.pov file in the ini file and
>>> the include file.
>>> Also you could define the location of library files in povray.ini. Like:
>>> Library_Path="G:\Libraries\Documents\POV-Ray\v3.7\include"
>>>
>>>
>>> -- 
>>>
>>> Regards
>>>       Stephen
>>
>> it work! thank you very much Stephen!
>>
>>
> 
> Phew! I'm glad. :-)
> 
> I ran into the same problem myself, last week.
> It was from using machine generated code that I was rendering manually 
> from a different directory than where it was created.
> 

When using those machine generated scenes, check if it contains any hard 
coded paths and other full files paths.
Those are totally non-portable, even within a single machine.


Post a reply to this message

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