redefined data types in different packages - request for help
Michael Dickens
michaelld at macports.org
Sat Nov 9 12:00:18 PST 2013
Hi Mojca - Since the CMake PortGroup was recently modified to include
CPPFLAGS="-I${prefix}/include", I've been having to remove that setting
from my ports which use this group because it grabs already-installed
headers instead of those local to the port (CPPFLAGS gets propagated to
CFLAGS and CXXFLAGS). Ditto for LDFLAGS and "-L${prefix}/lib". Maybe
this change will help? I note from the included compile command that
"-I/opt/local/include" is the first include directive, so that directory
should be searched before the others listed. - MLD
On Sat, Nov 9, 2013, at 09:15 AM, Mojca Miklavec wrote:
> I'm sorry, I copied the wrong error. It should have been:
>
> cd /path/to/hugin-app/work/hugin-2013.0.0/src/hugin1/stitch_project &&
> /usr/bin/clang++ -DHUGIN_HSI -DWXUSINGDLL -D_FILE_OFFSET_BITS=64
> -D__WXMAC__ -D__WXOSX_COCOA__ -D__WXOSX__ -pipe -Os
> -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0
> -I/opt/local/include -arch x86_64
> -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0
> [snip]
> In file included from
> /path/to/hugin-app/work/hugin-2013.0.0/src/hugin1/stitch_project/hugin_stitch_project.cpp:46:
>
> In file included from /opt/local/include/tiffio.h:33:
> /opt/local/include/tiff.h:78:23: error: typedef redefinition with
> different types ('unsigned long' vs 'uint64_t' (aka 'unsigned long
> long'))
> typedef TIFF_UINT64_T uint64;
> ^
> //System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:53:18:
> note: previous definition is here
> typedef uint64_t uint64;
More information about the macports-dev
mailing list