Date: Fri, 14 Jun 2002 09:53:52 -0500 From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: freebsd-ports@freebsd.org Subject: Problems with Mesa and XFree86-4.2.0 Message-ID: <3D0A0380.BD66C1E6@math.missouri.edu>
next in thread | raw e-mail | index | archive | help
I am having problems running programs that use glut. I am using XFree86-4.2.0_1,1 with Mesa-3.4.2_2 under FreeBSD-4.6-RC. This problem is on at least two different video boards - with the TNT2, and also with whatever is on the Dell Inspiron 7500 laptop. OpenGL programs that don't use glut work fine, for example 'xlock -mode gears' works great. But if I write my own program that uses glut, or try one of the demo programs that is in the work directory of the Mesa port, they don't work. They open a window, but nothing happens inside the window. My applications that use double buffering at least make the interior of the window black, or if I run it after another OpenGL program, I get a ghost image from that program. It used to work fine. Ack - even as I write this email, and after days of puzzlement, I figured it out. You need -pthread in the compile line. Is there a way to document this, or maybe it is documented and I missed it? The only reason I remembered this is because when one used to compile glut without pthread, one got error messages. -- Stephen Montgomery-Smith stephen@math.missouri.edu http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0A0380.BD66C1E6>