Mail Archives: djgpp/1999/08/10/18:00:42
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 -