delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/20/08:48:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <41b61h$6uick0@mxip14a.cluster1.charter.net>
X-Ironport-AV: i="3.92,116,1112587200"; d="scan'208"; a="233386624:sNHT102164592"
From: <rsnatale AT charter DOT net>
To: Walt K Michlauk <wkm4 AT psu DOT edu>, <cygwin AT cygwin DOT com>
Subject: Re: OpenGL problems
Date: Wed, 20 Apr 2005 12:48:35 +0000
MIME-Version: 1.0

I actively do OpenGL work with cygwin and I use: 
-lopengl32 -lglu32 -lgdi32

============================================================
From: Walt K Michlauk <wkm4 AT psu DOT edu>
Date: 2005/04/20 Wed PM 12:17:24 GMT
To: cygwin AT cygwin DOT com
Subject: OpenGL problems

Dear Cygwin

I've just downloaded the full complement of CYGWIN and CYGWIN/X files with 
the intent of doing builds of some standard X Windows / OpenGl (and also 
Motif) programs .  However, I am encountering difficulties.  Could you 
please help me with the following :

I'm unable to compile Kilgard's glxsimple.c on my Cygwin 
installation.  I've tried using the following command, which works on my 
Redhat Linux 8.0 laptop :

	gcc -o glxsimple glxsimple -lGL -LX11R6

but it resulted in a "no such file : GL/glx.h" error. I adjusted this to

	gcc -o glxsimple glxsimple -I/usr/X11R6/include -lGL -LX11R6

which seemed to compile, but produced a "cannot find -lGL" from the linker.

After reading /usr/doc/opengl-1.1.0, I then tried

gcc -o glxsimple glxsimple -I/usr/X11R6/include -Lw32api -lopengl -LX11R6

which again appeared to compile, but resulted in a mound of "undefined 
reference" messages to GL function calls, and some to X calls as well.

Can you please provide any help at all ?  An explicit compile and link 
instruction is what I need, but even the command to build Oliver Jones 
"Hello World" (from his "Introduction to the X Window system") or something 
from Kilgard (involving X, OpenGL, and Motif) on Cygwin would be extremely 
helpful.

Thanks for the consideration.

Walt Michaluk


--
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/

============================================================



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019