Can't Compile Irrlicht on Mac OS X.

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
conorkirk
Posts: 16
Joined: Mon Feb 05, 2007 11:47 pm

Can't Compile Irrlicht on Mac OS X.

Post 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
conorkirk
Posts: 16
Joined: Mon Feb 05, 2007 11:47 pm

Post 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$ 

hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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.
Post Reply