[Digikam-devel] [digikam] [Bug 339180] cmake and/or compiler pick up libkgeomap header files from previous version

RJVB rjvbertin at gmail.com
Thu Sep 18 23:31:42 BST 2014


https://bugs.kde.org/show_bug.cgi?id=339180

--- Comment #20 from RJVB <rjvbertin at gmail.com> ---
(In reply to Gilles Caulier from comment #12)

> https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/
> revisions/master/entry/gpssync/CMakeLists.txt#L4

So you're saying that I should have found a `-I...extra/libkgeomap` among the
compiler arguments? Even if there is a /opt/local/include/libkgeomap directory? 

> So the question is : where is the problem...

I think the problem must have to do with the presence of that "old" libkgeomap
header directory in /opt/local/include, and the way MacPorts creates a
protected environment.  I'll attach the portfile I worked with. If my guess is
right you too will have a /opt/local/include/libkgeomap directory if you
installed 4.0.0 through MacPorts. So you can try to see for yourself.

NB: MacPort's clang does seem a bit less capable to find header files than
Apple's version and gcc, but until now I noticed that only in Xcode projects
where Apple's compilers seem to find the headers just because they're added to
the project (and no explicit search path is added in the settings).
> 
> Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list