[Top][All Lists]

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

Interface C++ and prolog

From: aLurchi
Subject: Interface C++ and prolog
Date: Mon, 28 Feb 2011 07:47:08 -0800 (PST)


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

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?
View this message in context:
Sent from the Gnu - Prolog - Users mailing list archive at

reply via email to

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