Well, in that case I would suggest you to use an older version of Mesa. 6.4.2 would be nice.<br><br><div><span class="gmail_quote">On 11/16/06, <b class="gmail_sendername">Shari Rolnick</b> <<a href="mailto:shari@loralee.net">
shari@loralee.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I tried doing that, and ended up unable to
build Mesa at
all. I finally managed to build it successfully by not building most of the
demo programs, and that seemed to work. I had all the necessary libraries.
However, the VTK build still fails in the exact same way. I'm at a loss
here – any other ideas what I may have done wrong?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks!</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Shari</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Hoang Hoang
[mailto:<a href="mailto:hp1711@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hp1711@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, November 14, 2006
11:28 PM<br>
<b><span style="font-weight: bold;">To:</span></b> Shari Rolnick<div><span class="e" id="q_10eed627cd6aaa62_1"><br>
<b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vtkusers@vtk.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Build
Problem</span></div></span></font></p>
</div><div><span class="e" id="q_10eed627cd6aaa62_3">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">It depends on what platform you compiled Mesa. Say, if you use make linux-x86 to build
Mesa, you may
also have to edit the configs/linux with the same option.</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">good luck.<br>
</span></font></p>
</div>
<div>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 11/15/06, <b><span style="font-weight: bold;">Shari
Rolnick</span></b> <<a href="mailto:shari@loralee.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">shari@loralee.net</a>>
wrote:</span></font></span> </p>
<div vlink="blue" link="blue">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I used these compiler flags in configs/default:</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"># Compiler and flags</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">CC = cc</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">CXX = CC</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">CFLAGS = -DUSE_MGL_NAMESPACE -O</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">CXXFLAGS = -DUSE_MGL_NAMESPACE -O</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">GLU_CFLAGS =</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Is that right?</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Thanks again!</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Shari</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> vtkusers-bounces+shari=
<a href="mailto:loralee.net@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">loralee.net@vtk.org</a>
[mailto:<a href="mailto:vtkusers-bounces+shari=loralee.net@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> vtkusers-bounces+shari=loralee.net@vtk.org</a>] <b><span style="font-weight: bold;">
On Behalf Of </span></b>Hoang Hoang<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, November 14, 2006
8:08 PM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:Shari@loralee.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Shari@loralee.net</a><br>
<b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vtkusers@vtk.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Build
Problem</span></font></p>
</div>
<div><span>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">did you add -DUSE_MGL_NAMESPACE option when compiled Mesa?</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On
11/15/06, <b><span style="font-weight: bold;">Shari Holstege</span></b> <<a href="mailto:Shari@loralee.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Shari@loralee.net</a>>
wrote: </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
I'm trying to build VTK 5.0.2 with mangled Mesa support. I have followed the
instructions found at <a href="http://www.vtk.org/Wiki/VTK:How_I_mangled_Mesa" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/Wiki/VTK:How_I_mangled_Mesa</a>, but cannot
build VTK.<br>
<br>
I have listed the build errors below. Any help would be appreciated.<br>
<br>
Thanks, <br>
Shari<br>
<br>
Linking CXX executable ../../bin/vtk<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglPixelTransferf'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglTexCoord2dv'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglClearColor' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglLightModelfv'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglGetIntegerv'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglRasterPos2i'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglInitNames'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglIsTexture' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglVertex3dv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLightf'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglPolygonMode'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglMultMatrixf'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglDepthRange'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglPopMatrix' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglCallList' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglPixelStorei'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXGetCurrentContext' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglDrawBuffer' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglNormal3fv'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglColor4ub' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglClipPlane' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglTexCoord1dv'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglClear' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXChooseVisual' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglAlphaFunc'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglMultMatrixd' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXQueryServerString' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglPushName'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglReadPixels' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglGenTextures' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglGetError'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLineStipple'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglGenLists' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglDeleteLists'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglOrtho' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglVertex3d' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglTexCoord1fv'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglRasterPos2f'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglNormal3dv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglXGetConfig'<br>
/home/shari/VTK/bin/libvtkftgl.so: undefined reference to `mglPopClientAttrib' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXMakeCurrent' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLighti'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglColor4dv' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to `mglFlush'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLoadIdentity'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglVertex3fv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglTexEnvf' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglPushAttrib'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglPointSize' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglRenderMode' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglPolygonOffset'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglTexSubImage2D' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXDestroyContext' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglClearDepth'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXSwapBuffers' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLoadName' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglDrawPixels'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglPushMatrix' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglTexImage2D' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglColor3ubv'<br>
/home/shari/VTK/bin/libvtkftgl.so: undefined reference to `mglGetFloatv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglRectf' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLightfv'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to `mglDeleteTextures'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglColorMaterial' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglDisable'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLoadMatrixd'
<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglGetTexLevelParameteriv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglPixelZoom'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglMaterialfv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglShadeModel' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXQueryExtension'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglPopAttrib' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglRasterPos3f'
<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to `mglBegin'<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglBindTexture' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglTexParameterf' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglBlendFunc'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXGetClientString' <br>
/home/shari/VTK/bin/libvtkftgl.so: undefined reference to `mglPushClientAttrib'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglNewList'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglXIsDirect' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglMatrixMode' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglColor3f'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglDepthFunc' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLineWidth' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglCullFace'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLightModeli'
<br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglDepthMask' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglBitmap'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglEndList' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to `mglEnable'
<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXCreateContext'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglColor4ubv' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglSelectBuffer' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
`mglTexCoord2fv'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglScissor' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglFinish' <br>
/home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to `mglEnd'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglReadBuffer' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglViewport' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to
`mglXQueryExtensionsString'<br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglColor4f' <br>
/home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglGetString' <br>
collect2: ld returned 1 exit status<br>
make[2]: *** [bin/vtk] Error 1<br>
make[1]: *** [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Error 2<br>
make: *** [all] Error 2 <br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers
</a></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</span></div>
</div>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</span></div></div>
</div>
</blockquote></div><br>