Using irrlicht in macos
-
- Posts: 3
- Joined: Mon Jul 26, 2021 9:53 pm
Using irrlicht in macos
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?
Re: Using irrlicht in macos
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
-
- Posts: 3
- Joined: Mon Jul 26, 2021 9:53 pm
Re: Using irrlicht in macos
I didnt understand
-
- Posts: 386
- Joined: Sun May 11, 2014 12:13 am
Re: Using irrlicht in macos
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.
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.