alemart / opensurge

A retro game engine with a fun platformer for making your dreams come true!
http://opensurge2d.org
GNU General Public License v3.0
385 stars 33 forks source link

Port to OSX Intel and maybe PPC #62

Closed Hawk2811 closed 2 years ago

Hawk2811 commented 2 years ago

I'm wanting to help the project by making a port to Mac OS X Platforms at the moment I'm using a Hackintosh without Dual Boot with Windows Because of TPM2.0 : (

But do you have any documentation on port to other platforms?

alemart commented 2 years ago

Hi, thanks for your interest in the project.

There is a cross compiling guide in our wiki. The game engine is built using the Allegro game development library. Allegro is cross-platform, so porting the engine shouldn't be too difficult. I don't own a MacOS, so I'm unable to tell you the specifics.

Hawk2811 commented 2 years ago

I tried compiling OpenSurge on my Hackintosh with macOS Catalina but cmake couldn't find the allegro5 library

printscreen of terminal output Captura de Tela 2021-12-20 às 15 28 23

alemart commented 2 years ago

What this means is that Allegro 5 is not correctly installed. You can install the latest Allegro via Homebrew:

brew install allegro
brew install pkg-config

More info at:

alemart commented 2 years ago

@Hawk2811 Any progress so far?

Hawk2811 commented 2 years ago

@Hawk2811 Any progress so far?

I'm on vacation at the moment when I get back I'll tell you

alemart commented 2 years ago

Okay. If I can be of help to you, feel free to contact me again.

alemart commented 2 years ago

Update

A community member was able to successfully compile Open Surge on macOS. It works! Downloads are available at https://forum.opensurge2d.org/viewtopic.php?id=2133

alemart commented 2 years ago

To whom it might interest: the latest release of the game (0.6.0 at the time of this writing) is also available for macOS. An application bundle is being provided by community member SGWaS.

https://forum.opensurge2d.org/viewtopic.php?id=2135