Problem installing vtk
Ryan Schmidt
ryandesign at macports.org
Sat Mar 21 02:37:59 PDT 2009
On Mar 20, 2009, at 07:28, 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.
I get the same error on a MacBook Pro with 10.5.6, Xcode 3.1.2,
MacPorts 1.7.
Do you specifically need version 4 of vtk? If not, try the port vtk5,
which provides version 5 of vtk.
Still, VTK was just updated to 4.4.2
http://trac.macports.org/ticket/18696
so it is expected to build correctly somewhere. Please file a bug
report for the problem you encountered.
> Thanks in advance,
>
> David
>
> ---> Building VTK
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK" && make all " returned error 2
> Command output: [ 62%] Built target vtkexpat
> make -f IO/CMakeFiles/vtkIO.dir/build.make IO/CMakeFiles/vtkIO.dir/
> depend
> cd /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK && /opt/local/bin/cmake -E cmake_depends "Unix
> Makefiles" /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/IO /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/IO /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/IO/CMakeFiles/vtkIO.dir/DependInfo.cmake --color=
> make -f IO/CMakeFiles/vtkIO.dir/build.make IO/CMakeFiles/vtkIO.dir/
> build
> make[2]: Nothing to be done for `IO/CMakeFiles/vtkIO.dir/build'.
> /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/
> macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/CMakeFiles 51 52 53 54 55 56 57 58 59 60 61 62
> [ 74%] Built target vtkIO
> make -f Utilities/freetype/CMakeFiles/vtkfreetype.dir/build.make
> Utilities/freetype/CMakeFiles/vtkfreetype.dir/depend
> cd /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK && /opt/local/bin/cmake -E cmake_depends "Unix
> Makefiles" /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/freetype /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/freetype /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/freetype/CMakeFiles/vtkfreetype.dir/
> DependInfo.cmake --color=
> make -f Utilities/freetype/CMakeFiles/vtkfreetype.dir/build.make
> Utilities/freetype/CMakeFiles/vtkfreetype.dir/build
> make[2]: Nothing to be done for `Utilities/freetype/CMakeFiles/
> vtkfreetype.dir/build'.
> /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/
> macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/CMakeFiles 92 93 94
> [ 77%] Built target vtkfreetype
> make -f Utilities/ftgl/CMakeFiles/vtkftgl.dir/build.make Utilities/
> ftgl/CMakeFiles/vtkftgl.dir/depend
> cd /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK && /opt/local/bin/cmake -E cmake_depends "Unix
> Makefiles" /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/ftgl /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/ftgl /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/
> DependInfo.cmake --color=
> make -f Utilities/ftgl/CMakeFiles/vtkftgl.dir/build.make Utilities/
> ftgl/CMakeFiles/vtkftgl.dir/build
> make[2]: Nothing to be done for `Utilities/ftgl/CMakeFiles/
> vtkftgl.dir/build'.
> /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/
> macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/CMakeFiles 95
> [ 78%] Built target vtkftgl
> make -f Rendering/CMakeFiles/vtkRendering.dir/build.make Rendering/
> CMakeFiles/vtkRendering.dir/depend
> cd /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK && /opt/local/bin/cmake -E cmake_depends "Unix
> Makefiles" /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Rendering /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Rendering /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Rendering/CMakeFiles/vtkRendering.dir/
> DependInfo.cmake --color=
> make -f Rendering/CMakeFiles/vtkRendering.dir/build.make Rendering/
> CMakeFiles/vtkRendering.dir/build
> /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/
> macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/CMakeFiles
> [ 78%] Building CXX object Rendering/CMakeFiles/vtkRendering.dir/
> vtkCocoaRenderWindowInteractor.o
> cd /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Rendering && /usr/bin/c++ -
> DvtkRendering_EXPORTS -Wno-deprecated -no-cpp-precomp -fPIC -I/
> opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Rendering -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Hybrid -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/IO -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Imaging -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Graphics -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Filtering -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Common -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Common/Testing/Cxx -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/zlib -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/jpeg -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/png -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/tiff -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/expat -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/DICOMParser -I/opt/local/var/macports/
> build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/freetype/include -I/opt/local/var/
> macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/freetype -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/ftgl/src -I/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Utilities/ftgl -o CMakeFiles/vtkRendering.dir/
> vtkCocoaRenderWindowInteractor.o -c /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_vtk/work/VTK/Rendering/vtkCocoaRenderWindowInteractor.mm
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_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
>
> Error: Status 1 encountered during processing.
More information about the macports-users
mailing list