From: Teemu Kurppa Newsgroups: comp.os.msdos.djgpp Subject: Re: OpenGL and DJGPP Date: Sun, 15 Nov 1998 23:48:50 +0200 Organization: O.D.D. Lines: 32 Message-ID: <364F4C42.95B5AF00@Helsinki.fi> References: <199811152033 DOT UAA07031 AT remus DOT clara DOT net> NNTP-Posting-Host: klarinetti.in.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.06 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Okay, I've tried MGL first, but I couldn't get it work, it has some problem with long file names (or I figured it this way: I've downloaded djgpp with filepicker especially for Windows use, now MGL for DJGPP is meant for DOS-use and when I tried to compile example programs, dmake had problems with djgpp's own include files which had long file names ...). Note: I need only to test some OpenGL code, which I've coded in school with MESA in Linux. Just now I don't have time to setup Linux to home, so quick solutions to test programs in Windows/DOS using OpenGL without hardware support are needed. Then I tried MESA, but I have kind of 'back to the basics' problem with it. It comes with include files, .lib files, and dll-files. Okay. I put include files to djgpp's include directory, and compiling goes without errors. Then I need to link those libraries and object code, but how do I do this, and what should I link ? Usually library-files end with .a, but those MESA-libfiles end with .lib (for example OpenGL32.lib) So normal -l option doesn't work. I've also tried to link everything I need like this: gcc -o program.exe program.o OpenGL32.lib GLU32.lib GLUT32.lib put that doesn't work (... undefined reference to glColor3f and so on) Any solutions. If there's easy solutions to test code with some other (free) compiler, which can be easily and quickly setup, tell ! Sorry that I've write very bad english when in hurry ... ;) Teemu