Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I get BadMatch X protocol errors when I run GLUT programs. What gives?

0
Posted

I get BadMatch X protocol errors when I run GLUT programs. What gives?

0

A22: There is a bug in the Solaris 2.4 and 2.5 implementation of XmuLookupStandardColormap (fixed in Solaris 2.6). When you compile GLUT on Solaris 2.4 or 2.5, please apply the following patch and compile with -DSOLARIS_2_4_BUG to workaround the problem. To do this, edit the glut/lib/glut/Makefile and add -DSOLARIS_2_4_BUG to the CFLAGS macro. See the comment in the patch below. This code is already in GLUT 3.1 and later.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.