www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/10/18:00:42

From: "Stefan Viljoen" <rylan AT intekom DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Two Graphics Questions
Date: Mon, 9 Aug 1999 22:58:34 +0300
Organization: The South African Internet Exchange
Lines: 30
Message-ID: <7onh9g$3ne$3@ctb-nnrp1.saix.net>
References: <37AB8B63 DOT 4561A29E AT sprint DOT ca> <37ADBC2A DOT 3AFC AT surfsouth DOT com>
NNTP-Posting-Host: pc36-01-p09.nt.saix.net
X-Trace: ctb-nnrp1.saix.net 934234224 3822 155.239.194.9 (9 Aug 1999 21:30:24 GMT)
X-Complaints-To: abuse AT saix DOT net
NNTP-Posting-Date: 9 Aug 1999 21:30:24 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Chris Holmes <cholmes AT surfsouth DOT com> wrote in message
news:37ADBC2A DOT 3AFC AT surfsouth DOT com...
> Derek Sauer wrote:
>
>   The problem is that the OpenGL libraries are .lib files, which is
> a problem I am having.  I can't get DJGPP to actually link them.  To
> use OpenGL, you have to define several Win32 things (WINGDIAPI,
> APIENTRY, CALLBACK, something else to a blank space) and then the
> headers will compile correctly, but I can't get the libraries to
> link.
>   Can someone help?

As far as I know you cannot use .LIB files with DJGPP - they just don't work
due to the fact that the DJGPP linker (?) is not designed for the library
file (LIB) file format - it is used to COFF object files or a library (.a)
of COFF object files. To get it to work with DJGPP, you need (I think!) to
get the source (which is not available, right? commercial stuff - hate it!)
and recompile the source into DJGPP compatible .O files. These can then be
linked and called, and you can probably get it to work along with RSXNTDJ or
something.


--
This message courtesy of
RylanNet rylan AT intekom DOT co DOT za
http://home.intekom.com/rylan/
--
StarWars for ever!.


- Raw text -


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