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

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
Date: Wed, 20 Apr 2005 08:17:24 -0400
From: Walt K Michlauk <wkm4 AT psu DOT edu>
Subject: OpenGL problems
To: cygwin AT cygwin DOT com
Message-id: <6.2.1.2.2.20050420080737.02b733c0@imap.arl.psu.edu>
MIME-version: 1.0

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/

- Raw text -


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