bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Building GnuBG on Windows


From: David Montgomery
Subject: [Bug-gnubg] Building GnuBG on Windows
Date: Thu, 27 Feb 2003 12:38:08 -0800

Hi all,

I am trying to build gnubg on Windows following Nardy's
most excellent instructions.  My guess is that Jaro will
be able to get things working a lot more easily if we
can actually step through some of the gnubg code, or at
least do fprintf debugging.

Anyway, I haven't been able to follow all the instructions.

The instructions refer to

glib-2.0.7-20021201.zip
glib-dev-2.0.7-20021201.zip
gtk+-1.3.0-20020922.zip
gtk+-dev-1.3.0-20020912.zip

But on the page http://www.gimp.org/~tml/gimp/win32/downloads.html
I couldn't find these, so I downloaded

glib-2.2.1.zip
glib-dev-2.2.1.zip
gtk+-1.3.0-20030216.zip
gtk+-dev-1.3.0-20030115.zip

Before I go mucking around in the makefile to
make sure it is referring to the libs these
produce, are these okay to use instead of the
one on Nardy's page?

---

In instruction 3.b.2 it says to

"Extract libintl.h and localcharset.h to  [drive]:\mingw\include"

The libiconv-1.8-w32-1.bin.zip I downloaded doesn't
have a localcharset.h file.  It has a localcharset.dll
and a libcharset.h.

---

Finally, instruction "5. Copy DLLs" says to copy
freetype2.dll.  I don't have this file.  I have
freetype.dll.

I found libxml2.dll in [drive]:\mingw\bin rather than lib.

---

Below are the DLLs that I have in [drive]:\gnubg.
(Should they be in \gnubg\lib?)

freetype.dll
freetype2.dll
gdbm.dll
iconv.dll
libgdk-0.dll
libglib-2.0-0.dll
libgmodule-2.0-0.dll
libgtk-0.dll
libintl-1.dll
libpng.dll
libxml2.dll
zlib.dll

(freetype.dll and freetype2.dll are copies of the same file.)

---

Using nardy.bat, I get a bunch of linker errors, like this:

gnubg.o(.text+0xc555):gnubg.c: undefined reference to `rdAppearance'
gnubg.o(.text+0xc55a):gnubg.c: undefined reference to
`RenderPreferencesCommand
...
set.o(.text+0x2046):set.c: undefined reference to `rdAppearance'
set.o(.text+0x204b):set.c: undefined reference to `RenderPreferencesParam'

Thanks a lot,
David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]