Compiling Irrlicht on Mac

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
Donald Duck
Posts: 34
Joined: Sat Jan 21, 2017 6:51 pm
Location: Duckburg
Contact:

Compiling Irrlicht on Mac

Post by Donald Duck »

I'm trying to get Irrlicht to work on Mac 10.11 El Capitan. I compiled Irrlicht myself by compiling the project ~/Downloads/irrlicht/source/Irrlicht/MacOSX/MacOSX.xcodeproj with XCode 7.3.1. This compiled successfully and mad a file called libIrrlicht.a. The problem is that when I use Irrlicht in a project, the project won't compile. I get an error saying "symbol(s) not found for architecture x86_64" and a lot of warnings that all basically say the same thing:

Image

I'm new to Mac and have no idea what I'm doing wrong. Could someone please explain how I can get this to work or send me a working libIrrlicht.a file?
Donald Duck
Posts: 34
Joined: Sat Jan 21, 2017 6:51 pm
Location: Duckburg
Contact:

Re: Compiling Irrlicht on Mac

Post by Donald Duck »

I added the following flags and it worked:

Code: Select all

-framework CoreFoundation -framework CoreGraphics -framework AppKit -stdlib=libstdc++ -lc++
Post Reply