Page 1 of 1

Can't Compile Irrlicht on Mac OS X.

Posted: Mon Feb 18, 2008 10:37 pm
by conorkirk
I am having trouble compiling Irrlicht on Mac OS X using the xcode project file in the Irrlicht source.

Xcode provides no way to copy and paste errors, so here it is:

Image

Posted: Mon Feb 18, 2008 11:04 pm
by conorkirk
Okay, I re downloaded and tried recompiling and I just get a new error when I try to compile the "Demo" example with terminal by using "make"

Code: Select all

conor-kirkpatricks-macbook-pro:Demo conorkirk$ make
Makefile:33: Building...
g++ -I../../include -I/usr/X11R6/include -Wall -O3 -ffast-math CDemo.o CMainMenu.o main.o -o ../../bin/Linux/Demo -L/usr/X11R6/lib -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11
ld: library not found for -lIrrlicht
collect2: ld returned 1 exit status
make: *** [all_linux] Error 1
conor-kirkpatricks-macbook-pro:Demo conorkirk$ 


Posted: Tue Feb 19, 2008 12:15 am
by hybrid
The Makefile is for X11 applications, you want to compile with XCode in order to get native OSX device support. If the project does not support the Demo you should create a new project, it's compiling just as the other examples, just a few more files. And be sure to disable irrklang unless you have a version for OSX.