From: Robert S W. <rob...@ju...> - 2000-05-17 22:18:30
|
Hi, I'm a beginner at OpenGL/Mesa... I just dled Mesa 3.2, and I unzipped MesaLib and MesaDemos into a mesa folder. I tried to see if I could compile for djgpp, but that doesn't look like it would be too feasible, so I tried MingW32 (2.95.2), crtdll version. I read docs\readme.mingw32 and other readmes in there and followed the directions. I made mingw32 my "active compiler" (ie setting path and stuff for mingw32 instead of djgpp and restarting) and in mesa\mesa-3.2 I typed mingw32 and got some not-too-clean messages from that. Despite all the warnings, things seemed to work ok. Here's what I get when I type mingw32 again, just to give you an idea of how it starts out: F:\mesa\Mesa-3.2> mingw32 F:\mesa\Mesa-3.2> echo off Out of environment space Out of environment space Directory already exists Out of environment space Bad command or file name Bad command or file name Invalid directory F:\MINGW32\BIN\DLLTOOL.EXE: Can't open def file: wing32.def GCC.EXE: wing32.a: No such file or directory GCC.EXE: No input files Required parameter missing F:\MINGW32\BIN\MAKE.EXE: Entering an unknown directory F:\MINGW32\BIN\MAKE.EXE: *** : No such file or directory. Stop. F:\MINGW32\BIN\MAKE.EXE: Leaving an unknown directory Cannot move \libGL.a - No such file or directory F:\MINGW32\BIN\MAKE.EXE: Entering directory `f:/mesa/mesa-3.2/src-glu' ar ru libGLU.a glu.o mipmap.o nurbs.o nurbscrv.o nurbssrf.o nurbsutl.o projec t.o quadric.o tess.o tess_fist.o tess_hash.o tess_heap.o tess_winding.o tess_cli p.o F:\MINGW32\BIN\MAKE.EXE: Leaving directory `f:/mesa/mesa-3.2/src-glu' F:\MESA\MESA-3.2\SRC-GLU\libGLU.a => F:\libGLU.a [ok] F:\mesa\Mesa-3.2> ...and yes, I did change the mesaroot variable in mingw32.bat to f:\mesa\mesa-3.2 which is where that dir is. So that *seems* to work, but the problem is that all the examples aren't compiled and there's lotsa makefiles everywhere to do stuff that I don't know about. How can I get the examples and whatnot compiled? And what do I need to do to be able to use mesa in my programs? or should I just get an OpenGL book for that? there should be more of a guide for this, like a readme in the root directory or something. thanks for reading this far... hope you can help here's my specs: Windows 95 (4.00.950) MingW32 v2.95.2 crtdll version, mummit khans verison S3 Trio 64V+ w/2mb vram P120 16mb ram other compilers available to me: Borland 5.5 (but I haven't figured out how to use it) DJGPP 2.03 gcc 2.95.2 that other version of mingw32 (msvrt is it?) If all this doesn't work out for Mesa, is there another OpenGL implementation I could try? Is Sun's good on Win32 and Linux? does it do DOS? Does Mesa do DOS? Practically? And yes, I have run OpenGL programs on this system before. This is just my first time developing for OpenGL. thanks for any help -- Robert Whitlock http://www.geocities.com/CapeCanaveral/Hangar/9520/ |