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. Jon 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 in. JonDate: Fri, 18 Jul 2008 09:45:51 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Bug-gnubg] Compiling 20080624 on Windows XP CC: [email protected] No but we are getting there ;) Edit Makefile.w32 and remove the word format from makebearoff_SOURCES Christian. On Thu, Jul 17, 2008 at 9:10 PM, Daniel Frimerman wrote: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 Christian.I've downloaded the latest snapshot, the same error as with previous release. 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 makebearoff_SOURCE) 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 [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg_________________________________________________________________ The John Lewis Clearance - save up to 50% with FREE delivery http://clk.atdmt.com/UKM/go/101719806/direct/01/ _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
