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:
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?
Compiling Irrlicht on Mac
-
- Posts: 34
- Joined: Sat Jan 21, 2017 6:51 pm
- Location: Duckburg
- Contact:
-
- Posts: 34
- Joined: Sat Jan 21, 2017 6:51 pm
- Location: Duckburg
- Contact:
Re: Compiling Irrlicht on Mac
I added the following flags and it worked:
Code: Select all
-framework CoreFoundation -framework CoreGraphics -framework AppKit -stdlib=libstdc++ -lc++