Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me compiling Bmk on mac #106

Open
M0REKZ opened this issue Sep 4, 2021 · 1 comment
Open

Help me compiling Bmk on mac #106

M0REKZ opened this issue Sep 4, 2021 · 1 comment

Comments

@M0REKZ
Copy link

M0REKZ commented Sep 4, 2021

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)

@GWRon
Copy link
Contributor

GWRon commented Sep 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants