From Lesta@t-online.de  Fri Aug 20 13:05:46 1999
Received: from mailout01.btx.dtag.de (mailout01.btx.dtag.de [194.25.2.149])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id NAA26563
	for <prolog@swi.psy.uva.nl>; Fri, 20 Aug 1999 13:05:45 +0200 (MET DST)
Received: from fwd11.btx.dtag.de ([194.25.2.171])
	by mailout01.btx.dtag.de with smtp 
	id 11HmTm-0005ww-00; Fri, 20 Aug 1999 13:05:02 +0200
Received: from t-online.de (05121269112-0001(btxid)@[62.158.3.70]) 
	by fwd11.btx.dtag.de with smtp
	id <m11HmTl-000JjRC>; Fri, 20 Aug 1999 13:05:01 +0200
Message-ID: <37BD35CF.78105AE8@t-online.de>
Date: Fri, 20 Aug 1999 13:02:39 +0200
X-Mailer: Mozilla 4.05 [de]C-DT  (Win95; I)
MIME-Version: 1.0
To: Rinke Hoekstra <rhoekstr@wins.uva.nl>
CC: prolog@swi.psy.uva.nl
Subject: Re: Compiling a Prolog program to a stand alone application
References: <003301beea8f$2ab54be0$f4b0fbc3@wmstr> <37BD0FDE.D26833C1@t-online.de> <001801beeaf6$684a3260$0200a8c0@rhino>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: 05121269112-0001@t-online.de
From: Lesta@t-online.de (Uwe Lesta)

Rinke Hoekstra schrieb:
> 
> If I try this, an executable appears in the directory. But when I try to run
> it
> I get an error message: A required DLL (Libpl.dll) was not found. When
> I copy this file to the directory the executable resides in, nothing
> changes.
> How can I solve this?

You must set the environment variables 
e.g.

rem used by SWI-Prolog
        set SWI_HOME_DIR=d:\lesta\swi-pl\pl
 	set LIB=%LIB%;%SWI_HOME_DIR%\lib
 	set PATH=%PATH%;%SWI_HOME_DIR%\bin
 	set INCLUDE=%INCLUDE%;%SWI_HOME_DIR%\include

in your autoexec.bat 
specaly  SWI_HOME_DIR must point to yout install directory
-- 


Regards

Uwe
Lesta@t-online.de

