opengl and code::blocks link error
okay so tonight i managed to get some of my win32 opengl code ported to mac so at least it compiles, how ever it doesnt link.
I'm getting undefined references for example to:
_aglSetDrawable
_aglDestroyPixelFormat
_aglGetError
how do i link with these on mac? I've tried adding:
-framework Opengl -framework Carbon
as my linker options but this doesnt help.
Ideas?
I'm getting undefined references for example to:
_aglSetDrawable
_aglDestroyPixelFormat
_aglGetError
how do i link with these on mac? I've tried adding:
-framework Opengl -framework Carbon
as my linker options but this doesnt help.
Ideas?
-framework AGL might do the trick (in addition to the two you already have).
Don't use Carbon for new code, it's not available in 64-bit.
Possibly Related Threads...
Thread: | Author | Replies: | Views: | Last Post | |
ObjC/c code error with lists | ededed | 5 | 5,683 |
Jan 31, 2003 06:56 AM Last Post: w_reade |