Mail Archives: djgpp/1999/08/10/19:24:52
Stefan Viljoen wrote:
>
> 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.
Gracias. I had a feeling that was the answer.
Someone suggested looking into Mesa (www.mesa3d.org), unfortunately
that server seems to have disappeared and I was wondering if anyone knew
of a mirror site or had a copy they might be friendly enough to post
someone and share?
Chris
--
I know that I will never be politically correct,
and I don't give a damn about my lack of etiquette!
-- Meatloaf
- Raw text -