Giter Site home page Giter Site logo

Comments (5)

ldicker83 avatar ldicker83 commented on June 13, 2024 1

It compiles without change on an Intel based mac. M1/M2 mac's have different settings for Homebrew which was annoying to figure out -- basically we'll need to add a "Building from source on macOS" and have an addendum for Apple silicon.

Homebrew basically builds to /opt/Homebrew instead of wherever it goes on Intel macs. Not sure why the change but for me the easiest solution was to add these to the correct $PATH environment variables. Can add this as an aside to a "Building on Mac" document.

Separate issue from this but thought I'd mention it since it took a bit to figure out for me.

from nas2d-core.

ldicker83 avatar ldicker83 commented on June 13, 2024

I mean, sure? But really the ultimate point here is that mac gaming is where it is because developers don't bother porting their software properly.

Granted it can be a real hassle to put together an App Bundle for mac without knowing what you're doing. I've been banging my head on a desk for awhile to get an OutpostHD mac bundle ready for distribution and it's been a headache and a half.

The same could be said for Visual Studio though it's not quite as rough.

from nas2d-core.

DanRStevens avatar DanRStevens commented on June 13, 2024

Yeah, this isn't something I can take seriously. We're not going to strip Mac support just because someone doesn't like Mac.

Besides, Mac builds are done with the makefile, largely the same as Linux. There isn't really that much difference in the actual build between Linux and Mac. Mostly it's just a slightly different environment in terms of dependency install, and a different version of Clang.

I don't know much about Mac bundling. That's something we've never supported.

from nas2d-core.

ldicker83 avatar ldicker83 commented on June 13, 2024

The builds for mac are basically the same, but distribution is a little less simple for developers. There are two possible ways to do it -- I can either develop and xcode project that builds a Swift based app that then calls an embedded C++ CLI tool... or I can write a package installer app which will install the needed dependencies and binaries where they need to go and set up an Alias for the application either in the Applications folder or on the Desktop (not sure what's best practices for macOS yet).

I'm finding it really difficult to figure out the xcode bundling so I'm considering just using an installer script that handles it for us though it's not really the 'mac way' of doing things... but eh, whatever, this isn't a commercial product :D

from nas2d-core.

DanRStevens avatar DanRStevens commented on June 13, 2024

Could just leave it to Mac people to figure out for now. I mean, the code compiles on a Mac, so they're not totally unsupported. As it stands now, we don't really have any expertise in bundling software for Mac, and we maybe need to be careful what we spend limited time and energy on.

I'm sure we'll get there eventually, but if we're busy with other stuff meanwhile, and someone more knowledgeable happens to come along and do Mac bundling for us, then hey, that would be nice. I certainly wouldn't object to such help.

from nas2d-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.