Opened 7 years ago

Closed 14 months ago

#55753 closed defect (fixed)

vtk needs tiff

Reported by: snarkhunter (Steve Langer) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: vtk

Description

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.

Change History (4)

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Cc: stromnov@… removed
Owner: set to stromnov
Status: newassigned

comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 14 months ago by Dave-Allured (Dave Allured)

It looks like this was fixed on 2019 Mar 29 by https://github.com/macports/macports-ports/pull/3874. Please close this ticket.

comment:4 Changed 14 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.