bmk
bmk copied to clipboard
Help me compiling Bmk on mac
Hi, im trying to build this thing with an old bmk version (https://github.com/bmx-ng/bmx-ng/releases/tag/v0.105.3.35.macos) but i get this error, im on macos 10.11 with XCode 8 (username was replaced with "USER"
[ 17%] Processing:options_parser.bmx [ 18%] Processing:bmk_bank.bmx [ 18%] Processing:bmk_ng.bmx [ 19%] Processing:bmk_util.bmx Compile Error: Overriding method does not match any overridden method. (Detail: Return type is "Void", expected "Int".) [/Users/USER/lab/aa/blitzmax/bmk-master/bmk_util.bmx;1713;0] Build Error: failed to compile (65280)
first of all: if there is a more recent (and stable) version / release then use it - if it does not run on your system, report the issues.
Aside of that: the brl.mod/map.mod you are using in "v0.105" defines Insert the same (void) ... so maybe the build-toolchain of v0.105 (bmk + bcc) result in the issue.
map.mod/map.bmx - Type TMap:
Rem
bbdoc: Inserts a key/value pair into the map.
about: If the map already contains @key, its value is overwritten with @value.
End Rem
Method Insert( key:Object,value:Object )
the code your output log blames: bmk/bmk_util.bmx - Type TOrderedMap (Extends TMap):
Method Insert( key:Object,value:Object )
Did not check how exactly your v0.105 code works ... maybe for now it helps if you change it to "Insert:Int" in both code files.