[MacPorts] #55753: vtk needs tiff

MacPorts noreply at macports.org
Fri Jan 26 19:48:19 UTC 2018


#55753: vtk needs tiff
-------------------------+-------------------
 Reporter:  snarkhunter  |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.2
 Keywords:               |       Port:  vtk
-------------------------+-------------------
 vtk compiles, but it can't be used because it #includes a file that
 doesn't exist.  Building a program that includes vtk_tiff.h leads to this
 error:

 {{{
 /opt/local/include/vtk-7.1/vtk_tiff.h:23:11: fatal error:
 'vtktiff/libtiff/tiffio.h' file not found
 # include <vtktiff/libtiff/tiffio.h>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 error: command '/usr/bin/clang' failed with exit status 1
 }}}

 A simple workaround is to build vtk with VTK_USE_SYSTEM_TIFF set to ON and
 add a dependency on the tiff port.

--
Ticket URL: <https://trac.macports.org/ticket/55753>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list