Hello,
a. Operating system: Microsoft Windows 10 Professional:
b. Clean installation.
c. Given and using only this example file, save as 'helloworld.pro'.
:- initialization(main).
main :-
write( 'Hello world' ), nl,
halt.
d. It looks like information is missing when trying to compile this GNU Prolog file to an executable .exe.
e. I tried also with the MINGW versions
but they gave tons of 'reference not found errors' , e.g. when including the gcc.exe path.
But that seems to combine Microsoft Visual Studio and MINGW compilation, because getting errors about e.g. 'as.exe' which
is clearly MINGW related and has nothing to do with Microsoft Visual Studio.
I saw those errors referring to gcc.exe (thus MINGW) when trying to compile
gplc.exe helloworld.pro
Windows intel 32 bits auto-install setup (compiled under ix86 / Windows 10 with MSVC++).
I got a load of '.lib' files not found (e.g. advapi32.lib, ...) errors, it kept continuing missing different .lib files.
At the end I copied some 500 different x86 .lib files into the bin directory of GNU Prolog 32 bits.
Then finally when compiling
gplc.exe helloworld.pro
it created successfully a file
helloworld.exe
which when run did show 'Hello world'.
with friendly greetings
Knud van Eeden