[vtkusers] compiling vtk 4.2 on os x 10.4.3

Mike Jackson imikejackson at gmail.com
Thu Jan 5 23:13:37 EST 2006


I can't urge you enough to use VTK 5.x from CVS and NOT the 4.x  
series. I tried for WEEKS to get get 4.2 compiled and never really  
got it to work well. VTK 5.x compiled first time out, at least the  
Cocoa version did. I did not try the Carbon, X11, or any of the  
bindings like java or python.

  If you have a project that you are working on with some one else  
and they are using the 4.x series and can not move to the 5.x series  
then you are in for a long haul getting this to compile.

Good Luck.
On Jan 5, 2006, at 2:55 PM, Ryan Glover wrote:

> A user who has it working said he was able to get 4.2 to work so i
> tired the same.  i tried 4.4 first and also got this error.
>
> The code for the vtk file (vtkCocoaGLView.h) is:
>
> @interface vtkCocoaGLView : NSOpenGLView
> {
>     enum NSOpenGLPixelFormatAttribute bitsPerPixel, depthSize;
>
>     @private
>     vtkCocoaRenderWindow *myVTKRenderWindow;
>     vtkCocoaRenderWindowInteractor *myVTKRenderWindowInteractor;
> }
>
> I will try changing the apple header and see what happens.  You say
> just to scrub the 'enum' from the code?
>
> Thanks,
> Rg
> _______________________________________________
> 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

--------
Mike Jackson
imikejackson <at> gmail <dot> com






More information about the vtkusers mailing list