From: Chris Holmes Newsgroups: comp.os.msdos.djgpp Subject: Re: Two Graphics Questions Date: Mon, 09 Aug 1999 18:08:12 -0400 Organization: Georgia Institute of Technology, Atlanta GA, USA Lines: 36 Message-ID: <37AF514C.2C55@surfsouth.com> References: <37AB8B63 DOT 4561A29E AT sprint DOT ca> <37ADBC2A DOT 3AFC AT surfsouth DOT com> <7onh9g$3ne$3 AT ctb-nnrp1 DOT saix DOT net> NNTP-Posting-Host: r69h109.res.gatech.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news-int.gatech.edu 934236673 15305 128.61.69.109 (9 Aug 1999 22:11:13 GMT) X-Complaints-To: usenet AT news DOT gatech DOT edu NNTP-Posting-Date: 9 Aug 1999 22:11:13 GMT X-Mailer: Mozilla 3.04Gold (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Stefan Viljoen wrote: > > Chris Holmes 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