[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Fw: GNUBg Win32 MakeBuilds
From: |
Holger |
Subject: |
Re: [Bug-gnubg] Fw: GNUBg Win32 MakeBuilds |
Date: |
Mon, 03 Mar 2003 18:55:06 +0100 |
At 18:25 03.03.2003 +0100, dennis nilsson wrote:
Nardy told me to ask for help at this address instead.
I like to compile gnubg in win2000 and the problems I met is written below.
1. There was no link to glib-2.0.7-20021201.zip (glib 2.0) (516 KB)
glib-dev-2.0.7-20021201.zip (glib 2.0 dev) (237 KB)
on URL: http://www.gimp.org/~tml/gimp/win32/downloads.html
Found the files in the dir http://www.gimp.org/~tml/gimp/win32/ though so
that was solved.
Maybe glib 2.2.1 also works ?
Yes, it does.
Also curious if gtk+-1.3.0-20030216.zip and gtk+-dev-1.3.0-20030115.zip
can be used instead of gtk+-1.3.0-20020922.zip (GTK+ 1.3) (914 KB)
gtk+-dev-1.3.0-20020912.zip (GTK+ 1.3 dev) (358 KB)
As well. All just newer versions that weren't yet available then.
2. Extract libintl.h and localcharset.h to [drive]:\mingw\include.
libintl.h and localcharset.h is not part of libiconv-1.8-w32-1.bin.zip.
I use libiconv-1.8-20020830.zip from
http://sourceforge.net/project/showfiles.php?group_id=7382 . Simply extract
all its contents into [drive]:\mingw\ maintaining the directory structure.
3. When running nardy.bat
make can't find config.gui
.
. ....starting the make process
.
copy config.gui config.h
process_begin: CreateProcess((null), copy config.gui config.h, ...) failed.
make (e=2): The system cannot find the file specified.
make.exe: *** [config.h] Error 2
Seems that you have Cygwin in the path. I get this error, too. Either
replace copy with cp in Makefile or take Cygwin off the path. The latter
I'm not entirely sure about, though.
Instead i tried copy config.gui config.h followed by make directly in dos.
That started compiling but got the errors below.
...
export.o(.text+0xda1):export.c: undefined reference to `rdAppearance'
gnubg.o(.text+0xc555):gnubg.c: undefined reference to `rdAppearance'
...
set.o(.text+0x2046):set.c: undefined reference to `rdAppearance'
set.o(.text+0x204b):set.c: undefined reference to `RenderPreferencesParam'
make.exe: *** [gnubg] Error 1
Nardy's description and files are a bit dated already due to the rapid
development of GNUbg. Since then new source files have been added.
My Makefile reads:
gnubg_LIBS = $(gnubg_LDFLAGS) $(LIBPATH) -levent -lxml2 -lintl.dll
-lgdbm.dll \
-lglib-2.0.dll -lgdk.dll -lgtk.dll -liconv -lwinmm -lm
-lpng -lz \
-lfreetype
SOURCE = analysis.c analysis.h \
backgammon.h bearoff.c bearoff.h \
bearoffgammon.c bearoffgammon.h \
copying.c credits.c \
database.c database.h dice.c dice.h drawboard.c drawboard.h \
erf.c eval.c eval.h export.c export.h external.c external.h \
getopt.c getopt.h getopt1.c gnubg.c \
gtk-multiview.c gtkboard.c gtkchequer.c \
gtkcolour.c gtkcolour.h gtkcube.c \
gtkexport.c gtkgame.c gtkprefs.c gtkrace.c gtkrace.h \
gtksplash.c gtksplash.h \
gtktheory.c gtkmet.c guile.c guile.h \
html.c htmlimages.c \
i18n.c i18n.h import.c import.h \
kleinman.c \
latex.c luxi.c \
matchequity.c matchequity.h matchid.c matchid.h \
onechequer.c onechequer.h osr.c osr.h \
path.c path.h play.c positionid.c positionid.h \
postscript.c pub_eval.c \
record.c record.h render.c render.h renderprefs.c renderprefs.h \
rollout.c rollout.h \
set.c sgf.c sgf.h sgfl.c sgfp.c sgfp.h show.c sound.c sound.h \
speed.c strdup.c \
text.c
OBJS = analysis.o bearoffgammon.o copying.o credits.o \
database.o dice.o \
drawboard.o erf.o eval.o export.o external.o \
getopt.o getopt1.o \
gnubg.o gtk-multiview.o gtkboard.o gtkcube.o \
gtkchequer.o gtkexport.o gtkgame.o gtkprefs.o gtktheory.o \
guile.o \
html.o i18n.o import.o kleinman.o latex.o \
matchequity.o matchid.o \
play.o positionid.o postscript.o pub_eval.o \
record.o render.o rollout.o \
set.o sgf.o sgfl.o sgfp.o show.o sound.o text.o osr.o \
bearoff.o gtkrace.o onechequer.o path.o gtkmovefilter.o luxi.o \
htmlimages.o gtkmet.o gtkcolour.o gtksplash.o \
speed.o renderprefs.o
In case of more problems I could also send my Makefile and config.h. But
they are slightly different because of my not exactly same setup. Besides,
I use MinGW2 and thus gcc3.2.
Regards,
Holger