Now, after setting paths to the libraries and includes properly, it would seem compilation should be no problem. But, only doing these modifications to the provided assignment makefile will have linking errors, and that's due to the fact that the X11 development libraries and headers places a duplicate set of GL headers which don't match the provided libraries in the opengl package.
To get around this, just make sure the directory with the proper OpenGL headers comes first in the link list.
In particular, the offending library link is the one for glui; Cygwin's opengl package places headers for glui in the same place as for glut, gl, etc., but on fissure, it's in the X11R6 include directory.
Partager