delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/18/16:42:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38347264.E38D4CD6@cadlab.tu-berlin.de>
Date: Thu, 18 Nov 1999 22:40:52 +0100
From: Georg Fusz <fusz AT cadlab DOT tu-berlin DOT de>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygnus Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Glaux.dll not found -using MinGw

I am using MinGw to compile Programs using the OpenGl-Library.

A program using only the OpenGl- and the Glu-lib works wonderfull.

But a program using the glaux.lib stops with the message: "glaux.dll not
found". With WindowsNT there is the OpenGl32.dll and the Glux32.dll in
the directory "system32". There is a big (1.2 MB) glaux.lib in MsDev/Lib
from VisualC++. The glaux.lib from MinGW is much smaller ( ~ 100 kB ).

bezier.exe: $(objects) Makefile
	$(CC) -g -o $@ $(objects) -mwindows -lopengl32 -lglu32 -lglaux  



Does any body know that problem?

Microsoft gives the source code for a glaux.lib, but I was unable to
compile all sources with (mingw)-gcc. There are some incompabilities
between the headers from mingw and the microsoft source code, where I
was able to change the source code. But I was unable to compile the file
tkdib.c with gcc-2.95. With gcc-2.95.2 (msvcrt) I was able to compile
the file and to build the library. But the program fails while execution
the the function
auxInitWindowA .

int main()
{
    LPCTSTR pointer;
    char title[] = "Bezier Curves Using Evaluators";

    pointer = (LPCTSTR) title;

    //---------------------------------------------------

    auxInitDisplayMode (AUX_SINGLE | AUX_RGB);
    auxInitPosition (0, 0, 500, 500);
    auxInitWindowA ( pointer );

    //    myinit();

    //    auxReshapeFunc (myReshape);

    //    auxMainLoop(display);

    return(0);
}


Greeting from berlin 
Georg Fusz

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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