From owner-freebsd-ports Fri Jun 14 7:53:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from sccmmhc01.mchsi.com (sccmmhc01.mchsi.com [204.127.203.183]) by hub.freebsd.org (Postfix) with ESMTP id 6479A37B408 for ; Fri, 14 Jun 2002 07:53:54 -0700 (PDT) Received: from math.missouri.edu ([12.216.240.219]) by sccmmhc01.mchsi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020614145353.HUU2006.sccmmhc01.mchsi.com@math.missouri.edu> for ; Fri, 14 Jun 2002 14:53:53 +0000 Message-ID: <3D0A0380.BD66C1E6@math.missouri.edu> Date: Fri, 14 Jun 2002 09:53:52 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Problems with Mesa and XFree86-4.2.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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