Re: Interface C++ and prolog
Daniel Diaz <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Message-ID | <[email protected]> |
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.