[vtkusers] Building VTK on MacOSX Tiger Intel

Sebastien BARRE sebastien.barre at kitware.com
Mon Mar 13 13:19:54 EST 2006


At 11:04 AM 3/13/2006, Sean McBride wrote:
>On 2006-03-12 20:17, Kenny Leung said:
>
> >I'm trying to build VTK 5 on MacOSX, and I get stuck at:
> >
> >Building CXX object VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/
> >vtkOpenGLVolumeTextureMapper3D.o
> >/Users/kenny/QuickCeph/VTK-5.0.0/VolumeRendering/
> >vtkOpenGLVolumeTextureMapper3D.cxx: In member function 'virtual void
> >vtkOpenGLVolumeTextureMapper3D::RenderFP(vtkRenderer*, vtkVolume*)':
> >/Users/kenny/QuickCeph/VTK-5.0.0/VolumeRendering/
> >vtkOpenGLVolumeTextureMapper3D.cxx:267: error: 'ActiveTextureARB' is
> >not a member of 'vtkgl'
> >/Users/kenny/QuickCeph/VTK-5.0.0/VolumeRendering/
> >vtkOpenGLVolumeTextureMapper3D.cxx:267: error: 'TEXTURE2_ARB' is not
> >a member of 'vtkgl'
> >/Users/kenny/QuickCeph/VTK-5.0.0/VolumeRendering/
> >vtkOpenGLVolumeTextureMapper3D.cxx:269: error: 'TEXTURE_3D_EXT' is
> >not a member of 'vtkgl'
> >
> >Plus a whole bunch of other things that are not a member of 'vtkgl'.
> >Any help would be much appreciated.
>
>My nightly vtk build also shows these errors:
><http://www.vtk.org/Testing/Sites/RogueResearchPPC/MacOSX10.4.5-cocoa-
>gcc4.0.1-ppc/20060313-0855-Experimental/BuildError.html>
>
>And this is an a PPC Mac running Xcode 2.2.1, gcc 4.0.1 and 10.4.5.  I
>think the vtk code is broken.

We noticed that problem last week, and just fixed it.
You have several options:
- if you are using CMake CVS, just update it, and/or
- if you are using VTK-CVS, just update it (same for the VTK-5-0 
branch that I just updated too)

In either cases:
1) remove VTK_BINARY_DIR/Rendering/vtkgl.*
2) edit your cache (make edit_cache), then remove the following variables:
- VTK_GLEXT_FILE
- VTK_GLXEXT_FILE
- VTK_WGLEXT_FILE
and re-configure. The new values should all point to 
VTK_SOURCE_DIR/Utilities/ParseOGLExt/header. If not, check previous steps.

This should fix it. Please let us know if it does not work.
Thanks

--
Sebastien Barre




More information about the vtkusers mailing list