Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
conorkirk
Posts: 16 Joined: Mon Feb 05, 2007 11:47 pm
Post
by conorkirk » Mon Feb 18, 2008 10:37 pm
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:
conorkirk
Posts: 16 Joined: Mon Feb 05, 2007 11:47 pm
Post
by conorkirk » Mon Feb 18, 2008 11:04 pm
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 » Tue Feb 19, 2008 12:15 am
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.