On Sun, 09 Jan 2000, Philipp Thomas wrote:
* A Nourai (nagash@ozemail.com.au) [20000108 17:03]:
When I run make I get errors when it starts compiling this open gl based plugin.
/usr/include/GL/glu.h:215: parse error before `gluLookAt' /usr/include/GL/glu.h:218: warning: data definition has no type or storage class/usr/include/GL/glu.h:221: parse error before `gluOrtho2D'
Could someone please tell me what is wrong and how it may be fixed? Is it something to do with the way SuSE has installed the mesa lib's??
Yea, that's a known bug :( Mesa installs its headers in /usr/include/GL, but the glx package installs different versions of some of the Mesa headers in /usr/X11R6/include/GL. As the compiler gets passed -I/usr/X11R6/include, it first finds the GLX headers. This one pulls in headers from the Mesa dir and those clash.
Try removing (or alternatively renaming) /usr/X11R6/include/GL. That should solve the problem.
-- Philipp Thomas
Thanks, this fixed the problem. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/