I still strongly suggest you try to skip over the GLX support for now... if you want to try getting GLX working with the new X11 on Tiger, you're pretty much on your own for now... but you'll need this patch to mesa-7.0.4: diff -Naurp Mesa-7.0.4.orig/src/glx/x11/glcontextmodes.c Mesa-7.0.4/ src/glx/x11/glcontextmodes.c --- Mesa-7.0.4.orig/src/glx/x11/glcontextmodes.c 2008-11-10 15:14:25.000000000 -0800 +++ Mesa-7.0.4/src/glx/x11/glcontextmodes.c 2008-11-10 15:15:16.000000000 -0800 @@ -185,6 +185,9 @@ _gl_copy_visual_to_context_mode( __GLcon mode->transparentAlpha = config->transparentAlpha; mode->transparentIndex = config->transparentIndex; + mode->sampleBuffers = config->nMultiSampleBuffers; + mode->samples = config->multiSampleSize; + mode->swapMethod = GLX_SWAP_UNDEFINED_OML; mode->bindToTextureRgb = (mode->rgbMode) ? GL_TRUE : GL_FALSE; On Nov 22, 2008, at 13:34, Peter Dyballa wrote:
Am 21.11.2008 um 14:36 schrieb Jeremy Huddleston:
7.0.2 will work, but use 7.0.4 since it has bugfixes.
To me on Tiger it's the other way 'round! Mesa-7.0.4/bin/mklib has
635 if [ ${EXPORTS} ] ; then 636 OPTS="${OPTS} -exported_symbols_list ${EXPORTS}" 637 fi
Then just remove those from mklib...
Later, when the demos were built:
glxcontexts.c:60: error: storage size of ‘tz’ isn’t known glxgears.c:60: error: storage size of ‘tz’ isn’t known glxgears_fbconfig.c:74: error: storage size of ‘tz’ isn’t known glxswapcontrol.c:87: error: storage size of ‘tz’ isn’t known
The line is each time:
struct timezone tz;
followed by:
(void) gettimeofday(&tv, &tz);
Including time.h isn't right either, because it does not have gettimeofday(). Anyway, the demos are not really needed, I just packed out their sources for the first time!
yeah... just some header/spec-fu ... How are you trying to build mesa? You should be doing a 'make darwin' which should set the right #defines
Xinit was not built, because:
xinit.c:64:26: error: Availability.h: No such file or directory
AvailabilityMacros.h seems to be the correct name.
Yeah, I sent you that patch in the last email, and it's fixed in git.