Jon, I was able to get past many errors by copying gtk files over but now I am stuck at *"gtk/gtkgl.h: No such file or directory"* Maybe I don't have the compatible gtk version (I have gtk+-bundle_2.22.1-20101227_win32 but the file mentioned is not there).
Can you please point me to a repository where I can download the latest GBU BG source code along with the necessary GTK+ libraries? Thanks in advance, I appreciate your help. Turker Eflanli On Mon, Oct 12, 2020 at 8:37 AM Turker Eflanli <[email protected]> wrote: > Thank you Jon! I will try that. > > > On Mon, Oct 12, 2020 at 3:06 AM Jon Kinsey <[email protected]> wrote: > >> The simplest solution is to copy the gtk files you downloaded into the >> corresponding mingw subfolders. >> >> Jon >> >> On 11 Oct 2020, at 08:45, Turker Eflanli <[email protected]> wrote: >> >> >> Hi, >> >> I would like to build GNU BG on Windows 10. I realized I needed gtk+, >> downloaded gtk+-bundle_2.22.1-20101227_win32 and extracted all the files in >> a folder. >> I am still getting an error message and I believe I am not successfully >> setting the include path or an environment variable properly. >> >> Any help would be much appreciated!! >> >> >> *gnubg3d* >> . >> . Creating a new Win32 build for GNU Backgammon >> . GTK+ GUI (3D and Panel Version) >> . >> . >> . ....starting the make process >> . >> Could Not Find >> C:\Users\tefla\source\Workspaces\Misc\Turker\GNU-BG\board3D\*.o >> Could Not Find >> C:\Users\tefla\source\Workspaces\Misc\Turker\GNU-BG\board3D\libboard.a >> Could Not Find C:\Users\tefla\source\Workspaces\Misc\Turker\GNU-BG\*.o >> copy config.gui3D config.h >> 1 file(s) copied. >> mingw32-make.exe -C lib >> mingw32-make.exe[1]: Entering directory >> 'C:/Users/tefla/source/Workspaces/Misc/Turker/GNU-BG/lib' >> gcc -mms-bitfields -Os -Wall -DHAVE_CONFIG_H -I. -I.. -c -o md5.o md5.c >> In file included from md5.c:35: >> md5.h:30:10: >> >> *fatal error: glib.h: No such file or directory 30 | #include <glib.h> >> | ^~~~~~~~* >> compilation terminated. >> <builtin>: recipe for target 'md5.o' failed >> mingw32-make.exe[1]: *** [md5.o] Error 1 >> mingw32-make.exe[1]: Leaving directory >> 'C:/Users/tefla/source/Workspaces/Misc/Turker/GNU-BG/lib' >> Makefile3D:67: recipe for target 'lib/libevent.a' failed >> mingw32-make.exe: *** [lib/libevent.a] Error 2 >> . >> . Procedure ended >> . Check if gnubg.exe is built >> >> Best Regards, >> >> Turker Eflanli >> [email protected] >> >> >>
