Re: cannot compile with gplc.exe on win32

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
I think you should add D:\data\gnuprolog1.2.16\bin to your PATH variable 
because pl2wam is searched in the PATH variable.

Joey Dewille wrote:
> I have visual studio 2003 installed, as well as nasm.exe.
> It looks like gplc cannot find or execute pl2wam.
> All executables, including pl2wam were successfully installed
> in D:\data\gnuprolog1.2.16\{bin,lib...}
> I downloaded GNU Prolog targetted for msvc, not cygwin.
> Thanks.
> --Joey
> 
> ========= error report =======================================
> D:\data\prolog>gplc -v data.pl
> Prolog compiler (GNU Prolog) 1.2.16
> By Daniel Diaz
> Copyright (C) 1999-2002 Daniel Diaz
> GNU Prolog comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of GNU Prolog
> under the terms of the GNU General Public License.
> For more information about these matters, see the files named COPYING.
> 
> Path used: D:\data\gnuprolog1.2.16
> 
> *** Compiling
> 
> --- file: data.pl
> pl2wam -o D:\DOCUME~1\joey\LOCALS~1\Temp\gplc2.wam data.pl
> error trying to execute pl2wam: Invalid argument
> compilation failed
> deleting temporary files before exit
> delete D:\DOCUME~1\joey\LOCALS~1\Temp\gplc2.wam
> 
> D:\data\prolog>
> 


-- 
===============================================
                  Daniel Diaz
University of Paris 1      INRIA Rocquencourt
75013 Paris FRANCE      78153 Le Chesnay FRANCE
         web: http://pauillac.inria.fr/~diaz
         email: [email protected]

--
Ce message a subi une analyse antivirus 
par MailScanner ; il est vraisemblablement
sans danger.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.