Running Irrlicht on Mac?
I am trying to run the first Irrlicht tutorial found at http://irrlicht.sourceforge.net/docu/example001.html
I've tried three options so far:
1) Through terminal
2) Through XCode
3) Through Eclipse
#2 and #3 just seemed too complicated to work with and the tutorials I found online were not updated.
Now for running the first tutorial through terminal, I changed the proper image paths in the main.cpp file and the library path in the Makefile. However, for some reason I am still getting an error like this:
Makefile:33: Building...
g++ -I/Applications/irrlicht-1.7.1/include -I/usr/X11R6/include -O3 -ffast-math main.cpp -o 01.HelloWorld -L/usr/lib/nvidia -L/Applications/irrlicht-1.7.1/lib -lIrrlicht -L/usr/X11R6/lib -lGL -lXxf86vm -lXext -lX11
ld: library not found for -lIrrlicht
collect2: ld returned 1 exit status
make: *** [all_linux] Error 1
Now my irrlicht directory is inside of my Applications directory. Other than changing that library path and the image paths, I really do not know what else is going wrong.
Any insight on this? And if anyone has an updated tutorial on how to run the first Irrlicht tutorial, can you reference me to that? Thanks.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement