I am taking a computer graphics course this semester and the assignments are designed to work on Linux and Windows.
I am wondering if it is possible to compile this on Mac OS X.
Attached is the assignment files, including a GLUI include files.
Any clue how I can compile this on Mac?
---------------
updated:
I have compiled the program. However, when I runned it the following errors were showed:
[Session started at 2007-01-21 17:21:55 -0500.]
Usage: demo [width] [height]
Using 300x200 window by default...
2007-01-21 17:21:56.027 monkey[2314] GLUT Fatal Error: internal error: NSInternalInconsistencyException, reason: Error (1002) creating CGSWindow
After Google I suspect this is because the cocoa layer is not initialized and can probably be solved by adding NSApplicationLoad.
I don't know how I can add that function since this is the first time I program on Mac.
I am wondering if it is possible to compile this on Mac OS X.
Attached is the assignment files, including a GLUI include files.
Any clue how I can compile this on Mac?
---------------
updated:
I have compiled the program. However, when I runned it the following errors were showed:
[Session started at 2007-01-21 17:21:55 -0500.]
Usage: demo [width] [height]
Using 300x200 window by default...
2007-01-21 17:21:56.027 monkey[2314] GLUT Fatal Error: internal error: NSInternalInconsistencyException, reason: Error (1002) creating CGSWindow
After Google I suspect this is because the cocoa layer is not initialized and can probably be solved by adding NSApplicationLoad.
I don't know how I can add that function since this is the first time I program on Mac.