View Full Version : MacOSX/Cocoa Terrain on Xcode

03-16-2010, 09:51 AM
I am working with texture mapping and attempting all sorts of things to get it working on my mac. I use Xcode to program.

I came across one of NeHe's Windows tutorials that has converted source code (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=34). See the 2nd link from the bottom.

So i unzipped the file, created a new empty project with a cocoa application target, added the necessary files from the zip, added the neccessary frameworks (cocoa and opengl), and tried to build.

The program compiled, linked and then exited with status 1. So basically, no real information was provided as to why it didnt work (ie no errors).

If someone has time to recreate this scenario, I would be grateful. I simply do no know what to do anymore.

03-16-2010, 09:57 AM
Run it with a debugger to see where and why it exits, it will probably help.