Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old February 19, 2015, 22:04   #1
Join Date: Feb 2015
Posts: 1
DernHelm is on a distinguished road
Successfully built OmnibandTK-1.5 from src in Windows 7

I have successfully built OmnibandTK-1.5 from src;
Source Location:
I Have Copies Of Course... on is just the binaries! (not mine)
I used msys_mingw release #8 to do the build in
Windows 7. I used the following directory structure:


I used cmake-3.2.0-rc1-win32-x86. I put cmake in
the Msys directory. In the msys_mingw shell you use:


Do the following to change directories:

xxxx@XXXX ~
$ cat build

cd /c/XYZ/OmnibandTk-1.5-Build/OmniTk-1.5-Src/build

xxxx@XXXX ~
$ . build
xxxx@XXXX /c/XYZ/OmnibandTk-1.5-Build/OmniTk-1.5-Src/build

First I built TclTk-8.5.7 then zlib-1.2.2.
I changed zlib-122 to zlib-1.2.2 in CMakeLists.
Remove "build/CMakeCache.txt". Then from build in your shell:

xxxx@XXXX /c/XYZ/OmnibandTk-1.5-Build/OmniTk-1.5-Src/build
$ cmake .. -G"MSYS Makefiles"
$ make
Scanning dependencies of target misc
[ 0%] Building C object src/misc/CMakeFiles/misc.dir/shlib.c.obj
[ 0%] Building C object src/misc/CMakeFiles/misc.dir/stubs.c.obj
Linking C static library libmisc.a
OmnibandTk-1.5-Build\Msys\mingw\bin\dlltool.exe: Can't open def file
make[2]: *** [src/music/BASS/CMakeFiles/libbass24.a] Error 1
make[1]: *** [src/music/BASS/CMakeFiles/music-bass.dir/all] Error 2
make: *** [all] Error 2

OmnibandTk-1.5-Build\Msys\mingw\bin\dlltool.exe: Can't open def file
make[2]: *** [src/sound/BASS-stream/CMakeFiles/libbass24.a] Error 1
make[1]: *** [src/sound/BASS-stream/CMakeFiles/sound-bass-stream.dir/all]
make: *** [all] Error 2


from OmnibandTk-1.5-Build\OmniTk-1.5-Src\src\music\CMakeLists.txt
remove "ADD_SUBDIRECTORY (BASS-stream)

from OmnibandTk-1.5-Build\OmniTk-1.5-Src\src\sound\CMakeLists.txt
This needs work!

There is some of:

[ 2%] Building C object src/common-dll/CMakeFiles/common.dir/icon-dll
In function `objcmd_ascii':
warning: passing arg 2 of `Tcl_SetResult' discards qualifiers from
pointer target type


[ 1%] Generating CMakeFiles/boot.dir/angband.rc.obj
Scanning dependencies of target boot
[ 2%] Building C object src/boot/CMakeFiles/boot.dir/main-boot.c.obj
Linking C executable angband.exe
[ 2%] Built target boot

[ 26%] Building C object variant/AngbandTk/CMakeFiles/angband_library.dir/src/z-virt.c.obj
Linking C shared library angband.dll
Creating library file: libangband.dll.a
[ 26%] Built target angband_library

[ 29%] Building C object variant/AngbandTk/borg/apw292/CMakeFiles/borg.dir/src/borg9.c.obj
Linking C shared library borg.dll
Creating library file: libborg.dll.a
[ 29%] Built target borg

[ 51%] Building C object variant/KAngbandTk/CMakeFiles/kangband_library.dir/src/z-virt.c.obj
Linking C shared library angband.dll
Creating library file: libangband.dll.a
[ 51%] Built target kangband_library

[ 73%] Building C object variant/OAngbandTk/CMakeFiles/oangband_library.dir/src/z-virt.c.obj
Linking C shared library angband.dll
Creating library file: libangband.dll.a
[ 73%] Built target oangband_library

[100%] Building C object variant/ZAngbandTk/CMakeFiles/zangband_library.dir/src/z-virt.c.obj
Linking C shared library angband.dll
Creating library file: libangband.dll.a
[100%] Built target zangband_library

I Tried It And It Starts Up! You have to put files in the
right directory... but ok.

Good Luck!
DernHelm is offline   Reply With Quote
Old February 20, 2015, 14:34   #2
Vanilla maintainer
Nick's Avatar
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,564
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Nice work! In theory someone might be able to adapt this into an alternative front end to post-core-UI-split Vanilla, but I think in practice it might be more work than it's worth.
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OmnibandTk 1.5 tnb Variants 18 February 15, 2013 13:07
Idea - Shops with custom-built items and changing prices ekolis Variants 4 April 5, 2012 09:15
Supporting Windows Magnate Development 3 January 1, 2012 17:02
Rename /src/player/util.c ? PaulBlay Development 10 August 6, 2009 22:11

All times are GMT +1. The time now is 21:52.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.