SyntaxBomb - Indie Coders

Languages & Coding => BlitzMax / BlitzMax NG => Brucey's Modules => Topic started by: wombats on June 11, 2018, 12:02:10

Title: Building BlitzMax NG failure on macOS
Post by: wombats on June 11, 2018, 12:02:10
I'm following the instructions in this thread (https://www.syntaxbomb.com/index.php?topic=61.0).

I get to the Build bmk and bcc NG in 64-bit step.

When running...

./bmk makeapp -a -r -w -g x64 -t console ../src/bmk-ng/bmk.bmx

...I get this error:

Compile Error: Expression has no scope
[/Applications/BlitzMax-NG/mod/brl.mod/appstub.mod/debugger_mt.stdio.bmx;640;0]
Build Error: failed to compile (65280) /Applications/BlitzMax-NG/mod/brl.mod/appstub.mod/debugger_mt.stdio.bmx


I'm using macOS 10.13.5 High Sierra if that makes a difference.
Title: Re: Building BlitzMax NG failure on macOS
Post by: Derron on June 11, 2018, 12:09:35
Somewhere Brucey wrote that you cannot compile the very latest bcc/bmk with the release-packages.

So you need to fetch a older/some-revisions-before bcc, compile that - and use this new bcc build to build the newest variant then.


Else you might wait for Brucey to upload a Mac-Package (or another user uploads their current mac-package).


bye
Ron
Title: Re: Building BlitzMax NG failure on macOS
Post by: wombats on June 11, 2018, 12:26:12
Ah...I see. Thanks for the reply.

NG used to have its own website, didn't it?
Title: Re: Building BlitzMax NG failure on macOS
Post by: Derron on June 11, 2018, 12:47:40
it does not have its own website yet.

use
https://www.github.com/bmx-ng
as starting point.

Or ask in this forum.


bye
Ron
Title: Re: Building BlitzMax NG failure on macOS
Post by: wombats on June 11, 2018, 13:46:35
bmx-ng.com used to be about it, but it doesn't work anymore.

The only prebuilt binaries for macOS on the GitHub are from 2015, so I guess I'll have to wait.
Title: Re: Building BlitzMax NG failure on macOS
Post by: markcwm on June 14, 2018, 00:59:15
Hi wombat,

so did you use the latest source for brl/pub/maxgui or the latest release package?

I'm not sure what's going on in the latest releases, whether it's fetching the right bcc/bmk or the latest one so here is a list of nearest commits to when 0.93 was released (Mar 13 2018) which should work since Brucey tested a lot at this point.

brl (Mar 15 2018) (https://github.com/bmx-ng/brl.mod/tree/05a03a55de135b7181279563dece3d42455e1d3e), pub (Mar 14 2018) (https://github.com/bmx-ng/pub.mod/tree/a7734bafffc18169026073a1088c1d5fe3e69e40), maxgui (Mar 18 2018) (https://github.com/bmx-ng/maxgui.mod/tree/055f524133087aa92ef2102f6542528de02d1c49)

Updated links:
bcc (latest) (https://github.com/bmx-ng/bcc/), bmk (latest) (https://github.com/bmx-ng/bmk/)
Title: Re: Building BlitzMax NG failure on macOS
Post by: wombats on June 14, 2018, 06:31:44
Hi markcwm,

I used the ones linked in your guide. I'll try the ones you just posted. Thanks.
Title: Re: Building BlitzMax NG failure on macOS
Post by: wombats on June 15, 2018, 18:09:06
Hi markcwm,

I downloaded the ones you linked in this thread. Now it's failing to compile blitz.bmx. It doesn't give me a more descriptive error.
Title: Re: Building BlitzMax NG failure on macOS
Post by: Derron on June 15, 2018, 19:47:27
blitz.bmx from the brl.mod linked above, or from the current one?

to compile the latest brl.mod from bmx-ng you need the most current bcc-build (so fetch an older brl.mod, fetch the newest bcc from github and compile bcc with that. afterwards you can use this new bcc build to compile with the most current brl.mod).

Things will change when Brucey uploads new releases containing the most uptodate binaries + modules for the desired platforms.

bye
Ron
Title: Re: Building BlitzMax NG failure on macOS
Post by: markcwm on June 16, 2018, 02:30:37
Yeah, sorry wombat, like Derron says your best bet is to use the latest bcc/bmk but an older brl/pub/maxgui.
Title: Re: Building BlitzMax NG failure on macOS
Post by: wombats on June 16, 2018, 03:53:46
No worries. I appreciate the help and advice. I will try your latest suggestion tomorrow.