Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.0.20031125143602.03204ba8@irispavp.igb.umontreal.ca> X-Sender: bleau3 AT irispavp DOT igb DOT umontreal DOT ca (Unverified) Date: Tue, 25 Nov 2003 14:40:11 -0500 To: cygwin AT cygwin DOT com From: Andre Bleau Subject: Re: ___getreent error when compiling OpenGL/SDL program using gcc Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed X-MDRemoteIP: 10.52.50.2 X-Return-Path: bleau AT igb DOT umontreal DOT ca X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hAPJgDv1001673 Bob E wrote: ... >gcc? -g?? view3ds.o gl_video.o sdl_event.o sdl_video.o >object.o? -o view3ds -lgl >ut32 -lopengl32 -lGLU32 -lopengl32 `sdl-config >--cflags --libs` -lm ... 1- Move -lglut32 -lGLU32 -lopengl32 (in _that_ order) after `sdl-config ...` 2- Remove the extra -lopengl32 3- Remove -lm André Bleau, Cygwin's OpenGL package maintainer. Please address all questions and problem reports about Cygwin's OpenGL package to cygwin AT cygwin DOT com . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/