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 Date: Tue, 18 Mar 2003 10:49:57 +0000 From: Paul Sargent To: cygwin AT cygwin DOT com Subject: Header problem with OGL on Cygwin Message-ID: <20030318104957.GP32352@3dlabs.com> References: <3E75F5E6 DOT 8020803 AT 3dlabs DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030317133951 DOT 0263e228 AT irispavp DOT igb DOT umontreal DOT ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.0.20030317133951.0263e228@irispavp.igb.umontreal.ca> User-Agent: Mutt/1.4i Hi All, I'm currently having some problems linking with OpenGL under cygwin. I was hoping somebody who understands the system might be able to offer some advice. The problem I'm having is that when I try to link my object files together with "-lglut32 -lglu32 -lopengl32" I get messages stating that there are "undefined reference"(s) to "_glBegin", amonst other symbols. Searching through the archives I've spotted a message stating that this means I'm compiling with the wrong headers (The symbols should be of the form _glBegin AT 4'). It's at this point that I've lost the thread. My code contains "#include " and doing a 'find / -name glut.h' only shows the one file located in /usr/include/GL. Similarly doing the same find for gl.h gives me one in /usr/include/GL and one in /usr/include/w32api/GL. My compile command is "gcc -c " My link command is "gcc -o -lglut32 -lglu32 -lopengl32" Am I missing something simple? Thanks for any help you can provide Paul -- Paul Sargent mailto: Paul DOT Sargent AT 3Dlabs DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/