Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Undefined symbols _main
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="polyfrag" data-source="post: 1528744" data-attributes="member: 307795"><p>I'm trying to make an OpenGL command-line application following the NeHe tutorials.</p><p></p><p>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(...).</p></blockquote><p></p>
[QUOTE="polyfrag, post: 1528744, member: 307795"] 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(...). [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Undefined symbols _main
Top