[Digikam-devel] current git compile fixes on OS X
bkn at ithryn.net
bkn at ithryn.net
Thu Jan 10 16:24:02 GMT 2013
digikam-devs,
i'm trying to get back into digikam code and i have a couple of fixes needed
for compilation on OS X. They are pretty straightforward changes. os x uses
clang, i'm not sure if this is the reason for the changes. I find it odd that i
needed to add includes, but it seems to work this way, so far.
summary of changes:
* digikam-sc/extra/kipi-plugins/dlnaexport/extra/hupnp/src/devicehosting/devicehost/hpresence_announcer_p.h
+#include "hdevicehost_ssdp_handler_p.h"
* digikam-sc/extra/kipi-plugins/dlnaexport/extra/hupnp/src/devicemodel/client/hclientadapterop.h
+#include <QString>
* digikam-sc/extra/kipi-plugins/CMakeLists.txt
- IF(FLEX_FOUND AND BISON_FOUND)
+ IF(FLEX_FOUND AND BISON_FOUND AND FLEX_TARGET AND BISON_TARGET)
The last change is needed because the cmake modules installed through
MacPorts must be a little old so the FLEX_TARGET and BISON_TARGET marcos are
not defined whereas the FLEX_FOUND and BISON_FOUND are defined; so cmake will
eventually fail when trying to use FLEX_TAGET and BISON_TARGET marcos.
There are more changes that will likely come, but i haven't been able to
compile all of digikam yet as i keep on get undefined symbols when using the
internal liblqr source. Anyone get the internal version of liblqr compiling w/
clang on linux?
Thanks and cheers,
-- brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digikam_30_rc_osx_compile.patch
Type: text/x-diff
Size: 1928 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20130110/43c007b0/attachment.patch>
More information about the Digikam-devel
mailing list