Cant compile Irrlicht on 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
MickeyKnox
Posts: 58
Joined: Tue Apr 10, 2007 7:49 pm
Location: Karlsruhe

Cant compile Irrlicht on MacOS

Post by MickeyKnox »

I wanted to try Irrlicht on my iBook.
The Mac OS X Version is 10.4.11.
I installed X Code Version 2.5 and downloaded the new Irrlicht OS X release.
Then i goto source/Irrlicht, enter make and get this error:

Code: Select all

g++ -I../../include -Izlib -Ijpeglib -Ilibpng -DIRRLICHT_EXPORTS=1 -MM -MF os.d os.cpp
os.cpp:32:24: error: byteswap.h: No such file or directory
make: *** [os.d] Error 1
Jens
Posts: 14
Joined: Sun Nov 11, 2007 5:44 pm
Location: Germany

Post by Jens »

browse to this folder ..../irrlicht/source/irrlicht/MacOSX/

there is a file called MacOSX.xcodeproj

doubleclick it

xcode will open and there you build irrlicht.

after that you will have a folder "..../irrlicht/source/irrlicht/MacOSX/build/..."
there is the libirrlicht.a which you'll need.

you should read this thread for further information: click me
Post Reply