[Top][All Lists]

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

Re: [Bug-gnubg] Compiling 20080624 on Windows XP

From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] Compiling 20080624 on Windows XP
Date: Fri, 18 Jul 2008 19:01:48 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080213 Thunderbird/ Mnenhy/

I've updated the relevant files, so if you try with tomorrows snapshot it should work. You´ll need the latest zip files from the first bit of the steps on the website too.

Here's the steps I just did to test it:

1) went through the steps to build the GUI version.
2) Edited config.h, commenting out the #define USE_GTK 1 line.
3) Ran "Rebuild Gnubg.bat" to clean the files (just close the window when it fails to build). 4) Ran the new "Build Gnubg Cmd.bat" (in the misc dir) to build the command line exe (gnubgcmd.exe).

Hope that helps.


Jonathan Kinsey wrote:
I've made the necessary changes locally to get it to work, I'll check in/update 
the website later (hopefully tonight).  To build the command line interface the 
makefile needs a few changes, I'll tell you how it works once I've checked it 


Date: Fri, 18 Jul 2008 09:45:51 +0200
From: address@hidden
To: address@hidden
Subject: Re: [Bug-gnubg] Compiling 20080624 on Windows XP
CC: address@hidden

No but we are getting there ;)
Edit Makefile.w32 and remove the word format from



On Thu, Jul 17, 2008 at 9:10 PM, Daniel Frimerman
The snapshot is a bit old, it is likely that a newer one will work
better. At a quick glance:

1) add gnubgstock to the list of files in Makefile.w32
2) remove PKGDATADIR from config.h

I've downloaded the latest snapshot, the same error as with previous
So, after removing PKGDATADIR from config.h, I get the following errors upon
linking makebearoff

linking makebearoff
../bin/obj/format.o: In function `OutputRolloutContext':
C:/gnu/gnubg/format.c:385: undefined reference to `aszRNG'
C:/gnu/gnubg/format.c:390: undefined reference to `aszRNG'
../bin/obj/format.o: In function `FormatCubePosition':
C:/gnu/gnubg/format.c:1051: undefined reference to `ap'
../bin/obj/format.o: In function `OutputCubeAnalysis':
C:/gnu/gnubg/format.c:939: undefined reference to `exsExport'
C:/gnu/gnubg/format.c:939: undefined reference to `exsExport'
C:/gnu/gnubg/format.c:952: undefined reference to `exsExport'
C:/gnu/gnubg/format.c:993: undefined reference to `exsExport'
C:/gnu/gnubg/format.c:1020: undefined reference to `exsExport'
../bin/obj/format.o: In function `OutputCubeAnalysisFull':
C:/gnu/gnubg/format.c:788: undefined reference to `aszSkillType'
C:/gnu/gnubg/format.c:855: undefined reference to `aszSkillType'
C:/gnu/gnubg/format.c:869: undefined reference to `aszSkillType'
C:/gnu/gnubg/format.c:863: undefined reference to `aszSkillType'
C:/gnu/gnubg/format.c:808: undefined reference to `aszSkillType'
../bin/obj/format.o:C:/gnu/gnubg/format.c:828: more undefined references to
`aszSkillType' follow
collect2: ld returned 1 exit status
mingw32-make: *** [../bin/makebearoff.exe] Error 1

"aszSkillType" was defined in backgammon.h, and format.c has it declared, so
I've tried like with gnubgstock, adding backgammon to makefile.w32 (into
but I either added to the wrong place or I shouldn't have done it at all
since I get the following errors.

mingw32-make: *** No rule to make target `../bin/obj/backgammon.o', needed
by `.
./bin/makebearoff.exe'. Stop.

So no joy so far.

Win £3000 to spend on whatever you want at Uni! Click here to WIN!
Bug-gnubg mailing list

The John Lewis Clearance - save up to 50% with FREE delivery

Bug-gnubg mailing list

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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