June 21, 2018, 11:05:47 PM

Author Topic: Building BlitzMax NG failure on macOS  (Read 215 times)

Offline wombats

  • Jr. Member
  • **
  • Posts: 13
Building BlitzMax NG failure on macOS
« on: June 11, 2018, 12:02:10 PM »
I'm following the instructions in this thread.

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

When running...

Code: [Select]
./bmk makeapp -a -r -w -g x64 -t console ../src/bmk-ng/bmk.bmx
...I get this error:

Code: [Select]
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.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1077
Re: Building BlitzMax NG failure on macOS
« Reply #1 on: June 11, 2018, 12:09:35 PM »
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

Offline wombats

  • Jr. Member
  • **
  • Posts: 13
Re: Building BlitzMax NG failure on macOS
« Reply #2 on: June 11, 2018, 12:26:12 PM »
Ah...I see. Thanks for the reply.

NG used to have its own website, didn't it?

Offline Derron

  • Hero Member
  • *****
  • Posts: 1077
Re: Building BlitzMax NG failure on macOS
« Reply #3 on: June 11, 2018, 12:47:40 PM »
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

Offline wombats

  • Jr. Member
  • **
  • Posts: 13
Re: Building BlitzMax NG failure on macOS
« Reply #4 on: June 11, 2018, 01:46:35 PM »
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.

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 276
Re: Building BlitzMax NG failure on macOS
« Reply #5 on: June 14, 2018, 12:59:15 AM »
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), pub (Mar 14 2018), maxgui (Mar 18 2018)

Updated links:
bcc (latest), bmk (latest)

Offline wombats

  • Jr. Member
  • **
  • Posts: 13
Re: Building BlitzMax NG failure on macOS
« Reply #6 on: June 14, 2018, 06:31:44 AM »
Hi markcwm,

I used the ones linked in your guide. I'll try the ones you just posted. Thanks.

Offline wombats

  • Jr. Member
  • **
  • Posts: 13
Re: Building BlitzMax NG failure on macOS
« Reply #7 on: June 15, 2018, 06:09:06 PM »
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.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1077
Re: Building BlitzMax NG failure on macOS
« Reply #8 on: June 15, 2018, 07:47:27 PM »
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

Offline markcwm

  • Sr. Member
  • ****
  • Posts: 276
Re: Building BlitzMax NG failure on macOS
« Reply #9 on: June 16, 2018, 02:30:37 AM »
Yeah, sorry wombat, like Derron says your best bet is to use the latest bcc/bmk but an older brl/pub/maxgui.

Offline wombats

  • Jr. Member
  • **
  • Posts: 13
Re: Building BlitzMax NG failure on macOS
« Reply #10 on: June 16, 2018, 03:53:46 AM »
No worries. I appreciate the help and advice. I will try your latest suggestion tomorrow.