02-11-2004, 09:50 PM
I'm tryng to write an OpenGL renderer in OSX using Xcode.
I build a Cocoa app and started writing my code. All was well until I tried using the cosf() function.
The code compiles just fine, but when I run my program the app quits. The debugger spits out this message...
ZeroLink: unknown symbol '_cosf'
Program received signal: "SIGABRT".
What framework do I need to include in my project to use the cosf() function and all other functions in math.h?
Thanks in advance!
Chris
I build a Cocoa app and started writing my code. All was well until I tried using the cosf() function.
The code compiles just fine, but when I run my program the app quits. The debugger spits out this message...
ZeroLink: unknown symbol '_cosf'
Program received signal: "SIGABRT".
What framework do I need to include in my project to use the cosf() function and all other functions in math.h?
Thanks in advance!
Chris