[vtkusers] Build Problem
Hoang Hoang
hp1711 at gmail.com
Tue Nov 14 20:08:14 EST 2006
did you add -DUSE_MGL_NAMESPACE option when compiled Mesa?
On 11/15/06, Shari Holstege <Shari at loralee.net> wrote:
>
> Hi,
>
> I'm trying to build VTK 5.0.2 with mangled Mesa support. I have followed
> the instructions found at http://www.vtk.org/Wiki/VTK:How_I_mangled_Mesa,
> but cannot build VTK.
>
> I have listed the build errors below. Any help would be appreciated.
>
> Thanks,
> Shari
>
> Linking CXX executable ../../bin/vtk
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglPixelTransferf'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglTexCoord2dv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglClearColor'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLightModelfv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglGetIntegerv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglRasterPos2i'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglInitNames'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglIsTexture'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglVertex3dv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLightf'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglPolygonMode'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglMultMatrixf'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglDepthRange'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglPopMatrix'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglCallList'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglPixelStorei'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXGetCurrentContext'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglDrawBuffer'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglNormal3fv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglColor4ub'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglClipPlane'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglTexCoord1dv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglClear'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXChooseVisual'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglAlphaFunc'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglMultMatrixd'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXQueryServerString'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglPushName'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglReadPixels'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglGenTextures'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglGetError'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLineStipple'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglGenLists'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglDeleteLists'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglOrtho'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglVertex3d'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglTexCoord1fv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglRasterPos2f'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglNormal3dv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXGetConfig'
> /home/shari/VTK/bin/libvtkftgl.so: undefined reference to
> `mglPopClientAttrib'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXMakeCurrent'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglLighti'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglColor4dv'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglFlush'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLoadIdentity'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglVertex3fv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglTexEnvf'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglPushAttrib'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglPointSize'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglRenderMode'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglPolygonOffset'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglTexSubImage2D'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXDestroyContext'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglClearDepth'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXSwapBuffers'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLoadName'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglDrawPixels'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglPushMatrix'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglTexImage2D'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglColor3ubv'
> /home/shari/VTK/bin/libvtkftgl.so: undefined reference to `mglGetFloatv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglRectf'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLightfv'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglDeleteTextures'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglColorMaterial'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglDisable'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLoadMatrixd'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglGetTexLevelParameteriv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglPixelZoom'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglMaterialfv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglShadeModel'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXQueryExtension'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglPopAttrib'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglRasterPos3f'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglBegin'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglBindTexture'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglTexParameterf'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglBlendFunc'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXGetClientString'
> /home/shari/VTK/bin/libvtkftgl.so: undefined reference to
> `mglPushClientAttrib'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglNewList'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXIsDirect'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglMatrixMode'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglColor3f'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglDepthFunc'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLineWidth'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglCullFace'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglLightModeli'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglDepthMask'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglBitmap'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglEndList'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglEnable'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXCreateContext'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglColor4ubv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglSelectBuffer'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglTexCoord2fv'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglScissor'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to `mglFinish'
> /home/shari/VTK/bin/libvtkVolumeRendering.so: undefined reference to
> `mglEnd'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglReadBuffer'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglViewport'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglXQueryExtensionsString'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglColor4f'
> /home/shari/VTK/bin/libvtkRendering.so: undefined reference to
> `mglGetString'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/vtk] Error 1
> make[1]: *** [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Error 2
> make: *** [all] Error 2
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061115/2110fd73/attachment.htm>
More information about the vtkusers
mailing list