delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/06/07:52:25

X-Spam-Check-By: sourceware.org
Message-ID: <7718746.post@talk.nabble.com>
Date: Wed, 6 Dec 2006 04:52:08 -0800 (PST)
From: dvmorris <dvmorris AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin opengl problem
In-Reply-To: <4575A487.2080306@cygwin.com>
MIME-Version: 1.0
X-Nabble-From: dvmorris AT gmail DOT com
References: <7702324 DOT post AT talk DOT nabble DOT com> <7702374 DOT post AT talk DOT nabble DOT com> <4575A487 DOT 2080306 AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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


Larry Hall (Cygwin) wrote:
> 
> From the information you've given, it sounds to me like the code is
> suspect.  I'd start by getting this to work as it should with portability
> in mind.  The fact that it works on one system/compiler/whatever is not
> an indication that the code is correct.  Eliminating suspect code
> fragments
> will likely go a long way towards find and resolving your problem.
> 

When I try to compile and run this sample program:

http://seriss.com/people/erco/fltk/#OpenGlSimple

I get a window that also displays the mess from the openGL buffer, and does
not draw anything that it is supposed to. This is what I am using to
compile:

g++ -g -I/usr/X11R6/include -I/usr/include -c -o davewindowtest.o
davewindowtest.cc
g++ davewindowtest.o -L/usr/X11R6/lib -L/lib -lfltk_gl -lfltk -lGL -lGLU
-lopengl32 -lm -o davewindowtest

I guess it could be a problem with those compile commands, but I don't get
any errors. Any help would be greatly appreciated.

dave
-- 
View this message in context: http://www.nabble.com/cygwin-opengl-problem-tf2762607.html#a7718746
Sent from the Cygwin Users mailing list archive at Nabble.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/

- Raw text -


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