|
From: | bar tomas |
Subject: | Re: [Bug-gnubg] Compilation errors when building gnubg on windows XP |
Date: | Fri, 6 Jul 2007 12:54:13 +0200 |
bar tomas wrote:
> Thanks!
> I eliminated the flag you said so it no longer exits on warnings.
> But the compilation fails further on. The compiler seems to complain
> about a missing file("Le fichier spécifié est introuvable"), but I
> checked and both sgf.y and sgf.c exist in Code/gnubg . Do you know what
> it could be?
> The compilation output:
I think make is automatically trying to create sgf.c - from sgf.y using yacc,
this isn't setup on your machine. The easy answer is to rename sgf.c to sgfx.c
and change the makefile (from sgf to sgfx), this should stop make getting
confused (I'm guessing a bit).
> C:\gnu> BuildGnubg.bat
> Compiling gtkgame.c
> gtkgame.c:2095: warning: 'python_run_file' defined but not used
> Compiling gtkmet.c
> Compiling play.c
> Compiling gtkprefs.c
> Compiling gtkmovefilter.c
> Compiling gtkrace.c
> Compiling gtktheory.c
> Compiling htmlimages.c
> Compiling html.c
> Compiling import.c
> Compiling multithread.c
> Compiling latex.c
> Compiling matchequity.c
> Compiling matchid.c
> Compiling positionid.c
> Compiling postscript.c
> Compiling pub_eval.c
> Compiling record.c
> Compiling render.c
> Compiling rollout.c
> Compiling set.c
> yacc sgf.y
> process_begin: CreateProcess(NULL, yacc sgf.y, ...) failed.
> make (e=2): Le fichier spÚcifiÚ est introuvable.
> mingw32-make: *** [sgf.c] Error 2
> ** Build failed **
>
> Thanks again.
>
> On 7/6/07, *Christian Anthon* <address@hidden
> <mailto:address@hidden >> wrote:
>
> On 7/6/07, bar tomas <address@hidden
> <mailto:address@hidden>> wrote:
> > Thank you very much for your help.
> > I deleted the word erf from the Makefile.w32 file as you
> suggested and the
> > compilation no longer generates that error.
> > But another error appears later. This is the output:
> >
> > gtkgame.c:2095: warning: 'python_run_file' defined but not used
> > mingw32-make: *** [obj/gtkgame.o] Error 1
> > ** Build failed **
> >
>
> The warning is harmless but you have the -Werror flag in
> buildgnubg.bat, which causes the build to exit on all warnings. Just
> delete that flag.
>
> Christian.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
[Prev in Thread] | Current Thread | [Next in Thread] |