Conflicting declarations in tiff and opencv
|Reported by:||karo11||Owned by:||stromnov (Andrew Stromnov)|
|Keywords:||Cc:||ryandesign (Ryan Schmidt), mojca (Mojca Miklavec), cooljeanius (Eric Gallager), Martin.Buchmann@…|
Description (last modified by larryv (Lawrence Velázquez))
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.
Change History (16)
comment:1 Changed 4 years ago by larryv (Lawrence Velázquez)
- Description modified (diff)
- Owner changed from macports-tickets@… to stromnov@…
- Port & removed
comment:2 Changed 4 years ago by karo11
Note: See TracTickets for help on using tickets.