Undefined symbols _main

Joined
Jul 28, 2013
Messages
4
Reaction score
0
Points
1
I'm trying to make an OpenGL command-line application following the NeHe tutorials.

I defined main(...) in wemain.mm but it says the symbol is undefined. Why isn't it compiling that file? When I put it in wecontroller.mm it read it but then it said NSApplicationMain was undefined that I was calling from main(...).
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top