[MacPorts] #38168: Conflicting declarations in tiff and opencv
MacPorts
noreply at macports.org
Fri Feb 22 09:04:32 PST 2013
#38168: Conflicting declarations in tiff and opencv
------------------------+--------------------------------
Reporter: karo03de@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: tiff & opencv
------------------------+--------------------------------
Compiling a program (gmic from gmic.scourceforge.net) using libtiff AND
opencv throws errors concerning conflicting declarations. The error occurs
since upgrade to MacPorts 2.1.3 :
In file included from /opt/local/include/tiffio.h:33,
from ./CImg.h:286,
from gmic.h:71,
from gmic.cpp:884:
/opt/local/include/tiff.h:77: error: conflicting declaration ‘typedef long
int int64’
/opt/local/include/opencv2/core/types_c.h:163: error: ‘int64’ has a
previous declaration as ‘typedef int64_t int64’
/opt/local/include/tiff.h:78: error: conflicting declaration ‘typedef long
unsigned int uint64’
/opt/local/include/opencv2/core/types_c.h:164: error: ‘uint64’ has a
previous declaration as ‘typedef uint64_t uint64’
A workaround would be helpful.
--
Ticket URL: <https://trac.macports.org/ticket/38168>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list