Mac Forums

Mac Forums (
-   OS X - Development and Darwin (
-   -   Undefined symbols _main (

polyfrag 07-28-2013 02:02 AM

Undefined symbols _main
I'm trying to make an OpenGL command-line application following the NeHe tutorials.

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

polyfrag 07-28-2013 02:52 AM

Oh, I had to add the files to Compile Sources in Build Phases.

All times are GMT -4. The time now is 12:07 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.