From jan@swi.psy.uva.nl Thu Nov 29 09:41:26 2001
Received: from gollem.swi.psy.uva.nl (gollem [145.18.152.30])
	by swi.psy.uva.nl (8.10.2+Sun/8.11.2) with ESMTP id fAT8fQf27478;
	Thu, 29 Nov 2001 09:41:26 +0100 (MET)
Received: (from jan@localhost)
	by gollem.swi.psy.uva.nl (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id fAT8fNK21656;
	Thu, 29 Nov 2001 09:41:23 +0100
Date: Thu, 29 Nov 2001 09:41:23 +0100
Message-Id: <200111290841.fAT8fNK21656@gollem.swi.psy.uva.nl>
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Subject: Re: [SWIPL] Embedded prolog applications in C++
To: "Stephen Gilmour" <stepheng@australia.edu>, <prolog@swi.psy.uva.nl>
In-Reply-To: Stephen Gilmour's message of Thu, 29 Nov 2001 19:28:06 +1100
Phone: +31 - 20 - 525 6121

> I have been trying to get the "likes" example of using prolog as an AI
> server within a C++ application working but I keep coming up against
> troubles.  I have in terms of compilers Visual C++ 4.0 and Cygwin with G++.
> I didn't even know how to start with using plld in cooperation with VC++
> (although this is ideal) so I've been trying to use cygwin.  Unfortunately
> when I compile using make it gives a long list of errors.  I've trying
> reducing the obvious problems by the following:

You can't mix Cygwin and the Windows executable.  Either get yourself the
sources and build them from scratch on Cygwin or stick with MSVC.  To do the
latter, make sure to set PATH, INCLUDE and LIB so you can run nmake.exe, cl.exe
and link.exe from the commandline.  You can ask the MSVC installation to set this
up for you, or do it by hand. 

If you use Cygwin, please read the page on the Twiki web.

	Cheers --- Jan

