|
From: | Rob |
Subject: | [Bug-gnubg] Nardy's Directions, and some help, please. |
Date: | Wed, 13 Aug 2003 11:39:10 -0400 |
I have made some notes regarding Nardy's directions for building under Win32. 1. I have made a modified version of the page at http://users.skynet.be/bk228456/gnubg_new_build.html I have attached it here The modifications are to clarify it some. a. Changed "5. Notes" to "8. Notes" b. Added section 0: Install Gnubg for Win32, reordered table of contents c. Separated out mingw download because it's not clear that packages.zip didn't have it. You'll see. 2. You need to change nardy.bat if NOT %MINGWDR%=="" goto IFEXIST must change to if NOT "%MINGWDR%"=="" goto IFEXIST 3. After getting the latest CVS sources, I got the following compiler error: gcc -Os -mms-bitfields -Wall -DHAVE_CONFIG_H -DLOCALEDIR=\"locale\" -I. -I./ lib -I/MinGW/lib/gtk+/include -I/MinGW/lib/glib-2.0/include -I/MinGW/include /glib-2.0 -I/MinGW/include/libxml2 -I/MinGW/include/freetype2 -c -o gtkprefs.o gtkprefs.c gtkprefs.c: In function `GeneralPage': gtkprefs.c:1419: structure has no member named `showMoveIndicator' gtkprefs.c: In function `UseDesign': gtkprefs.c:1655: structure has no member named `showMoveIndicator' gtkprefs.c: In function `GetPrefs': gtkprefs.c:2519: structure has no member named `showMoveIndicator' mingw32-make.exe: *** [gtkprefs.o] Error 1
How to compile a new build of "GNU Backgammon for Windows"
All info about GNU Backgammon can be found at www.gnubg.org 1. Download and install Gnubg for Win32If you do not have GNU Backgammon for Windows installed on your Win32 computer already, download and install the Installation archive (12 MB) of Øystein O Johansen. You will build a replacement gnubg.exe that sits on top of it. 2. Get yourself an archive utility programFor instance: 7-zip Remark: 3. Download MinGW (SourceForge) 030704
Download: MinGW-2.0.0-3.exe MinGW 2 bundles:
4. Download the library packagesa. 1) SourceForge 1 03 07 04
(from URL: http://sourceforge.net/project/showfiles.php?group_id=23617 ) a. 2) SourceForge 2 03 07 04
(from URL: http://sourceforge.net/project/showfiles.php?group_id=25167 ) b. GIMP 03 07 04
(from URL: http://www.gimp.org/~tml/gimp/win32/downloads.html ) d. packages.zip, containing all above packages 03 07 04All above packages are zipped into one file. e. RemarkIf you want to download the packages one by one, go here. 5. Install the packages from 2. and 3.
6. Fetch the GNU Backgammon sourcesGet a snapshot,
or use CVS Download the daily snapshotftp://alpha.gnu.org/gnu/gnubg/snapshots/ Extract the snapshot to [dir]\gnubg (c) ORUse the CVS repository
Look for "Anonymous CVS access" at You will need a CVS utility for Windows 'Check out' the GNU Backgammon CVS repository to [dir]\gnubg (c) 7. Used DLLsNo need to copy anymore. The installation archive of Øystein uses the same :-) Where do I find the DLLs? [installed dir of GNU Backgammon] (e)
8. Download Makefile(s), config.gui and nardy.batMakeConfigNardy.exe is a self-extracting
file (version 030813) It contains:
When you run it, it proposes C:\gnubg as directory for these files The builds made from now one (030813) will look for a localized version. Danish, German, Italian and Japanese are available now. If you are interested: get the Language Package 9. Compiling a new builda. Get the GNU Backgammon sourcesDownload a snapshot or 'check out' the CVS repository (See 4.) b. Run nardy.batOpen My Computer and go to [dir]\gnubg (c) Double click on nardy.bat (or nardy, if known file extensions are hidden) gnubg.exe will be built (in [dir]\gnubg) c. Move the new build to your GNU Backgammon folderCopy the freshly build gnubg.exe to the folder of your installed GNU Backgammon for
Windows (e) 10. Notesa. [drive]: b. Keep the directory structure c. [dir] d. nardy.bat e. Directory of the installed GNU Backgammon for
Windows Any comments?
|
[Prev in Thread] | Current Thread | [Next in Thread] |