[vtkusers] compiling vtk problems with mac 10.3

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Feb 11 09:05:00 EST 2004


Zhong Hao,

	You need to apply thoses changes:

http://vtk.org/cgi-bin/cvsweb.cgi/VTK/Rendering/vtkCarbonRenderWindowInteractor.cxx.diff?r1=1.6&r2=1.7

Mathieu

Xu Zhong Hao wrote:
> Hi
> 
> Can anyone help me on compiling vtk on mac 10.3, i have never succeeded 
> in building it with carbon core.
> 
> i have tried vtk version 4.2.1 to 4.2.5, all with 
> carbonrenderwindowinteractor error the error is
> 
> /VTK4.2.5/Rendering/vtkCarbonRenderWindowInteractor.cxx: In function 
> `OSStatus
>    myWinEvtHndlr(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)':
> /VTK4.2.5/Rendering/vtkCarbonRenderWindowInteractor.cxx:188: error: 
> non-lvalue
>    in unary `&'
> /VTK4.2.5/Rendering/vtkCarbonRenderWindowInteractor.cxx:196: error: 
> non-lvalue
>    in unary `&'
> /VTK4.2.5/Rendering/vtkCarbonRenderWindowInteractor.cxx:204: error: 
> non-lvalue
>    in unary `&'
> make[3]: *** [vtkCarbonRenderWindowInteractor.o] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Rendering] Error 2
> make: *** [default_target] Error 2
> 
> i have sucessfully compile with cocoa core but that does not work with 
> fltk which require carbon window.
> 
> Please help
> 
> Zhong Hao
> 
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list