users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interface C++ and prolog


From: Daniel Diaz
Subject: Re: Interface C++ and prolog
Date: Tue, 01 Mar 2011 14:12:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Hello,

I have just prepared a snapshot of 1.4.0 that should correct the problem with MSVC

http://gprolog.univ-paris1.fr/unstable/gprolog-20110301.tgz

Can you try it ?

Daniel

Le 28/02/2011 16:47, aLurchi a écrit :
Hello,

I'd like to interface GNU Prolog with C++. I already have these working
solutions for my project:
- 1.3.0 auto-install-setup MSVC + VS2003
- 1.3.0 self-compiled + VS2008

However, I'd like  to use a newer version of GNU Prolog (preferably 1.4.0)
with VS2008 or MSys with MinGW gcc, but I'm running into some trouble.

1. compiling 1.4.0 with gcc works and compiling the examples with gplc works
as well. But my project contains code in C++ and when I use "--c-compiler
g++ " I'm getting errors in both,  my project and examplesC (same for
1.3.1).

2. compiling 1.4.0 with MSVC does not work (some 'atom_functor' problem in
wam2ma.c). I was able to compile 1.3.0 and 1.3.1.

Any hints?


--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]