Problem installing vtk

cssdev at mac.com cssdev at mac.com
Tue Mar 24 02:33:22 PDT 2009


On Mar 20, 2009, at 8:28 AM, David Trem wrote:

> May somebody help ?
> I have a problem installing vtk on MacBook OS X 10.5.6, using  
> macports 1.700 (fresh install).
> See console output below.
>
> [...]
>
> /opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_graphics_vtk/work/VTK/Rendering/ 
> vtkCocoaGLView.h:11: error: using typedef-name  
> 'NSOpenGLPixelFormatAttribute' after 'enum'
> /System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:90:  
> error: 'NSOpenGLPixelFormatAttribute' has a previous declaration here
> make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/ 
> vtkCocoaRenderWindowInteractor.o] Error 1
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
> make: *** [all] Error 2

I'll take look ... I think I might have only built the x11 variant. I  
might have missed another required Leopard fix for the Cocoa windowing.

Chris


More information about the macports-users mailing list