#21186: vtk5 +carbon +python variants fail to build on Snow Leopard -----------------------------------+---------------------------------------- Reporter: stefan.janecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: vtk5 -----------------------------------+---------------------------------------- Comment(by stefan.janecek@…): Replying to [comment:1 dweber@…]:
Have you tried vtk-devel on Snow Leopard? I don't work on the vtk5
port, but I have done a lot with the vtk-devel port. The vtk-devel port uses cocoa by default, but it has an option for carbon too (which has not been tested). Is there a particular requirement for carbon? Are you wanting to use vtk with qt4-mac?
I tried to build the vtk5 port because mayavi2 depends on it. And yes, I think mayavi2 needs the carbon variant (see the last post in http://trac.macports.org/ticket/19567). I just tried to build vtk-devel +carbon +python -tcltk -x11 on Snow Leopard, but the build fails: {{{ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_vtk- devel/work/vtk-5.4/Rendering/vtkGraphicsFactory.cxx:52: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_graphics_vtk- devel/work/vtk-5.4/Rendering/vtkCarbonRenderWindow.h:35:4: error: #error vtkCarbonRenderWindow does not work in 64 bit gnumake[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkGraphicsFactory.o] Error 1 gnumake[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2 gnumake: *** [all] Error 2 }}} -- Ticket URL: <http://trac.macports.org/ticket/21186#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS