Re: Compiling SWI-Prolog



On 2008-02-18, Robert van de Sandt <robert@xxxxxxxxxx> wrote:
Hello,

I am trying to compile prolog, but I have been unsuccesful for some time.

I am using the source from swi-prolog.org
and the following system:

Windows Vista
Visual Studio 2005 + SP
jdk 1.6.0_04
the additional libraries given on swi-prolog.

I am only compiling it, because I do need the table package.

That doesn't appear as a good reason. Just delete it after installing
the whole lot :-)

Is there anybody who has compiled this on a Vista System and may help me?

I don't know. I know a few people staying up-to-date and using the
source on Windows, but I think all of them still use XP. On the other
hand, I very much doubt there is a relevant difference between XP and
Vista. Most people doing active development and want to stay up-to-date
compile it on Unix (Linux, MacOS, etc).

The sources are compiled by me using MSVC6 for the 32-bit version as this
has less runtime library issues and many people still appear to be using
this version. The 64-bit version is compiled with the C-compiler from
the Win64 SDK, but I also compiled it using VS2005 Pro to be able to use
a debugger for the porting work.

Its a bit of a nightmare to get it all compiled using MSVC, notably to
get properly compiled versions of all required libraries and setup the
compiler paths for the commandline tools. The instructions are at
http://www.swi-prolog.org/buildwin.html (bit outdated, but I think
most is still ok).

If you really need it and it fails, better send a detailed report to the
SWI-Prolog mailinglist. You might get more feedback there.

Cheers --- Jan
.



Relevant Pages

  • Re: IID_IDropTarget
    ... Giuseppe Sacco wrote: ... I compile and link it on Windows Vista I get an error about an ... undefined symbol "IID_IDropTarget". ...
    (microsoft.public.win32.programmer.ole)
  • Re: DeviceIOControl Windows Vista
    ... We made some DLL with Visual C and it was compile with Windows XP. ... using those DLL on a PC with Windows Vista, ... DeviceIoControl were you calling, and on what device? ...
    (microsoft.public.vc.language)
  • IID_IDropTarget
    ... I download a very simple source code for an OLE application, ... I compile and link it on Windows Vista I get an error about an ...
    (microsoft.public.win32.programmer.ole)
  • Compiling SWI-Prolog
    ... I am trying to compile prolog, but I have been unsuccesful for some time. ... Windows Vista ...
    (comp.lang.prolog)
  • Re: Carrying Libraries on Your Back...
    ... > Why not build on an installed based of assemblies, ... > than porting libraries around, ... download source code ... compile local source against header files ...
    (microsoft.public.dotnet.languages.vb)