Using irrlicht in macos

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
woxika3363
Posts: 3
Joined: Mon Jul 26, 2021 9:53 pm

Using irrlicht in macos

Post by woxika3363 »

Hello i want to build ios port of a game(ygopro) which build with irrlicht. Sadly i cant even find any tutorial for macos build cant even figure out how to run demo app on macos. anyone can explain or guide me where can i start or is there any good tutorial maybe i missed?
netpipe
Posts: 670
Joined: Fri Jun 06, 2008 12:50 pm
Location: Edmonton, Alberta, Canada
Contact:

Re: Using irrlicht in macos

Post by netpipe »

Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
woxika3363
Posts: 3
Joined: Mon Jul 26, 2021 9:53 pm

Re: Using irrlicht in macos

Post by woxika3363 »

I didnt understand :(
LunaRebirth
Posts: 386
Joined: Sun May 11, 2014 12:13 am

Re: Using irrlicht in macos

Post by LunaRebirth »

I build my Irrlicht project on Mac using XCode. Here's the instructions I wrote:

XCode
First you'll need XCode you can install on the App Store.

Irrlicht (OGL-ES branch)
Download a snapshot or use SVN to grab the OGL-ES version of Irrlicht here: https://sourceforge.net/p/irrlicht/code ... es/ogl-es/

Build Irrlicht to use the graphics library. Open the source/Irrlicht/Irrlicht.xcodeproj XCode project in this installation directory.

On the top of the window, to build for Mac OS, select "Irrlicht_OSX" and then "My Mac". Once that's done, simply press the "Play" button:
Screen Shot 2021-04-29 at 1 25 22 PM

This will then create the Irrlicht static library needed for your project, located in your Irrlicht download location in lib/OSX/libIrrlicht.a

Your project
Start a new XCode project. Make sure it's a Cocoa project.
Add your source files and link the libIrrlicht.a file, and you should be good to go.
Post Reply