Undefined symbols _main
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(...).
Oh, I had to add the files to Compile Sources in Build Phases.
|All times are GMT -4. The time now is 08:24 PM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.