This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiling Mesa from CVS under Cygwin B20.1



Not a good idea to mix MS$ OpenGL32 headers with Mesa?  You will end up
with a buggy monster.  Nope GLUT from Mesa does not compile unless you fix
the code.
M$ OpenGL32 is different then SGI OpenGL Impelmentation for Unices. The
major
difference is wGL and GLX API.  Have a look at the
OpenGL API Source code
from http://oss.sgi.com/projects

And, the Mesa Code is OpenGL API 1.1 compliant but it is not OpenGL
itself... Read
the Mesa3D Home Page Paul warns about it.

BTW> The SGI OpenGL API for Cygwin is available from my URL at
http:/siddiqi.webjump.com
 It contains GLUT, GLU, GL, and RGB etc.

Suhaib

------------------------------------------------------------------

On Fri, 3 Mar 2000, Sven Panne wrote:

> Has anybody succeeded in compiling Mesa from the CVS repository
> under Cygwin B20.1? I've managed to build the GL/GLU libs, but

Yes.  If there's interest, I'll make it available pre-built.  Glut works
with no problems, as far as I can tell.  (My research project depends on
it.)


> the compilation of GLUT yields tons of macro redefinition errors.
> This is probably due to discrepancies between Cygwin's and Microsoft's

No.  It's due to "WIN32" instead of "_WIN32" in (one of?) the glut .h
file(s). Change that (I think in two places) and it will compile.

   s/WIN32/_WIN32/g

You need to make yourself a makefile, too, but it can be dirt simple.

Oh, I used the msvc GL header files.  Don't know about the mesa ones.

The sgi header files (for win32) work too, I believe.  I think that's
where the ones in the X tarball came from.  (off the top of my
head...could be wrong.)

But unless you are hacking on mesa (good for you if you are), why not use
the opengl32.dll and glu32.dll that comes with mswindows?  They will
automatically use the optimized drivers for your graphics card.  Does mesa
in win32 now use the drivers to get good acceleration?


> header files. Browsing through this list and Alta Vista showed that
> some people have managed to build older versions of Mesa, but I was

Don't know about mesa.  The reason I use win32 is so that OpenGL uses the
vendor-provided drivers for my accelerated graphics card.  Otherwise, I'd
probably run my project in linux.


HTH,

-jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]