Author Topic: Blitzmax & macOS Mojave  (Read 1540 times)

Offline sonic

  • Jr. Member
  • **
  • Posts: 6
Blitzmax & macOS Mojave
« on: October 14, 2018, 02:17:32 PM »
hi there first post here (but Blitzbasic.com member since about 1999). thanks for having me.

i'm really sad about the abandoning of both the Blitzmax language and the old forums.

i'm seven years into a Unity project which relies heavily on tools written in BMax. when I installed Mojave on my new 2018 Macbook Pro, Blitzmax will no longer build / rebuild modules, claiming there are deprecated libraries (possibly wXWidgets related, i'm not entirely sure as i foolishly forgot to save the errors BMax threw when using Mojave.)

i've reverted to High Sierra for now as it will still build despite giving a warning:

Quote
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]

in Mojave, the same warning is followed by several others and the build fails.

Not sure what to do - High Sierra has been a bit of a buggy mess for me, and I'd love to get off this OS, but I'm concerned it might be the last macOS capable of building Blitzmax software.

Does anyeone have any experience with this / has anyone found a solution?

Thanks!

Offline Derron

  • Hero Member
  • *****
  • Posts: 1521
Re: Blitzmax & macOS Mojave
« Reply #1 on: October 14, 2018, 05:33:35 PM »
you might try BlitzMax NG

https://github.com/bmx-ng


bye
Ron

Offline GW

  • Full Member
  • ***
  • Posts: 151
Re: Blitzmax & macOS Mojave
« Reply #2 on: October 14, 2018, 07:34:23 PM »
Link to the prebuilt release for Bmax NG.
https://github.com/bmx-ng/bmx-ng/releases
edit: Just realized there is no mac binary.. oh well..

Offline sonic

  • Jr. Member
  • **
  • Posts: 6
Re: Blitzmax & macOS Mojave
« Reply #3 on: October 15, 2018, 09:02:53 PM »
yeah i looked into it but that was where i got stuck! will stay on high sierra for now, tho it's pretty buggy on this 2018 mbp

Offline Yellownakji

  • Jr. Member
  • **
  • Posts: 98
  • The new logo looks like a butt plug
Re: Blitzmax & macOS Mojave
« Reply #4 on: October 15, 2018, 09:56:12 PM »
There is "BlitzMax OS X v0.70.3.09" on Github, granted we're on what now..  0.98?  Then again, i began development of my project on 0.87 with minimal porting over to the next revisions so i'm sure it wouldn't be too bad.    Brucey is pretty busy with NXLibs and hasn't been on the forum or responding at all.  Perhaps when he manages to get some time, i'll look into it for you.   I plan to port to MAC as well, so i'll have to ask eventually.

It will require a lot of time though.

Offline Yellownakji

  • Jr. Member
  • **
  • Posts: 98
  • The new logo looks like a butt plug
Re: Blitzmax & macOS Mojave
« Reply #5 on: October 28, 2018, 05:53:54 PM »
I looked into OSX the other day and Mojave just isn't a viable as of now.  The most common compile failures seem to do with something called 'carbonLIB' which i believe is their old API for applications.

However due to Mojave sucking horse bollocks, i reverted all the way down to my beautiful El Capitan and NG 0.70 builds beautifully; Modules, anyways. 

I am trying to port an app at the moment so i can't speak on that behalf.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1521
Re: Blitzmax & macOS Mojave
« Reply #6 on: October 28, 2018, 06:34:15 PM »
Raise an issue if you want to make sure to raise Brucey's awareness.

I am pretty sure to see him here and there in lurking around in the forums but he is kind of busy with the new website and fixing the issues people report via the github repository.


bye
Ron

Offline Yellownakji

  • Jr. Member
  • **
  • Posts: 98
  • The new logo looks like a butt plug
Re: Blitzmax & macOS Mojave
« Reply #7 on: October 28, 2018, 06:38:20 PM »
Raise an issue if you want to make sure to raise Brucey's awareness.

I am pretty sure to see him here and there in lurking around in the forums but he is kind of busy with the new website and fixing the issues people report via the github repository.


bye
Ron

I'm aware of that.   He is lurking but he's backed up to the point where messages are on hold; I'm not going to bother him any further, right now.  I'll wait till he gets back to me.   The only real issue is with clang.  "Libstdc++ is deprecated; Move to libc++"; Preventing me from building.

I thought i'd have a more annoying time building for linux but mac is taking the cake.

Offline therevills

  • Sr. Member
  • ****
  • Posts: 398
Re: Blitzmax & macOS Mojave
« Reply #8 on: October 28, 2018, 09:35:39 PM »
the new website

What new website is he busy with?

Offline Derron

  • Hero Member
  • *****
  • Posts: 1521
Re: Blitzmax & macOS Mojave
« Reply #9 on: October 28, 2018, 09:38:31 PM »

Offline therevills

  • Sr. Member
  • ****
  • Posts: 398
Re: Blitzmax & macOS Mojave
« Reply #10 on: October 28, 2018, 09:54:08 PM »
https://github.com/bmx-ng/bmx-site

Thanks - Nice to see him keeping BMX alive :) The site looks nice and clean too.

Offline DerFetteElch

  • Jr. Member
  • **
  • Posts: 1
Re: Blitzmax & macOS Mojave
« Reply #11 on: October 29, 2018, 07:20:52 PM »
I‘ve openend a bug-report on github for this issue a few weeks ago.

Brucey kindly replied:
Quote
As a quick fix, you can use these lines in make.bmk, in the @define default_cc_opts section at around line 420...

         globals.SetOption("cc_opts", "osversion", "-mmacosx-version-min=10.9")
         globals.SetOption("ld_opts", "osversion", "-mmacosx-version-min=10.9")
         globals.SetOption("ld_opts", "stdlib", "-stdlib=libc++")

That fixed it for me.

Cheers!

Offline sonic

  • Jr. Member
  • **
  • Posts: 6
Re: Blitzmax & macOS Mojave
« Reply #12 on: October 31, 2018, 12:45:22 AM »
glad to see others looking for a solution at least. longer term i definitely need to upgrade because i don't think this machine was really designed for high sierra. testing out mojave was such a pain, i had to roll back to high sierra but it erased my recovery partition, meaning i can't run 'find my mac' on a (near maxed out) machine that cost more that i dare to admit.

so i'll probably need to do a clean os install of mojave to get my recovery partition back, and reinstall all my software again (i don't think i'll be able to get the high sierra installer, as apple only hosts the latest one afaik.) macos is so locked down and frustrating these days. i remember the early days of BMax and having a solid cross platform tool felt really cool and forward looking. nowadays i'm not surprised if noone wants to support macs anymore. at least there is Unity (which is what i'm primarily using now.) next year when they drop 32 bit support and opengl it's going to be a nasty shock for some users relying on old apps or playing even quite current games.

Offline Yellownakji

  • Jr. Member
  • **
  • Posts: 98
  • The new logo looks like a butt plug
Re: Blitzmax & macOS Mojave
« Reply #13 on: October 31, 2018, 01:30:15 PM »
glad to see others looking for a solution at least. longer term i definitely need to upgrade because i don't think this machine was really designed for high sierra. testing out mojave was such a pain, i had to roll back to high sierra but it erased my recovery partition, meaning i can't run 'find my mac' on a (near maxed out) machine that cost more that i dare to admit.

so i'll probably need to do a clean os install of mojave to get my recovery partition back, and reinstall all my software again (i don't think i'll be able to get the high sierra installer, as apple only hosts the latest one afaik.) macos is so locked down and frustrating these days. i remember the early days of BMax and having a solid cross platform tool felt really cool and forward looking. nowadays i'm not surprised if noone wants to support macs anymore. at least there is Unity (which is what i'm primarily using now.) next year when they drop 32 bit support and opengl it's going to be a nasty shock for some users relying on old apps or playing even quite current games.

I gave up on Mojave; It was total garbage.  They even managed to F'Up the usb drivers!  49 minutes to transfer 20mb, MEGABYTES. TWENTY.

Hell no.. just no.    With the removal of "allow all apps" in preferences, broken compatibility for most of my applications, intense slowdowns for basic tasks and this stupid transfer goof, i went back allll the way down to EL Capitan, the last good "OSX" in my opinion.   Modern OSX, anyways.   El Cap runs beautifully and does what i need it to do, if i ever unfortunately need to use a macintosh.  However to be fair, the last OSX i genuinely like is 10.6;   I still bring my old macbook around with me sometimes because it has 10.6..  just love that version of mac.  R.I.P MacOS9.

By the way, you can still get the old installers.   If you find the direct link to High Sierra appstore page on EL Capitan, you can downgrade.   You have to be on Mojave.

When you're on High Sierra, then you can go down to sierra.  that's how that crap works.   ...or you can torrent the installer app/back up your installers.   I failed to do so with EL Capitan so i just torrented the installer and did a fresh install after making a bootable USB.

AFAIK Mojave can't run 32bit;  None of mine work on Mojave.

Offline sonic

  • Jr. Member
  • **
  • Posts: 6
Re: Blitzmax & macOS Mojave
« Reply #14 on: November 07, 2018, 02:19:04 PM »
unfortunately you can only go as far as the OS the machine came with, so i'm stuck with high sierra which is pretty awful. i've been using mavericks and snow leopard up till now on past machines, snow leopard being the best of course. the future (or rather the present) is far less bright :(