[Kmymoney-devel] Building using kdepimlibs

Ian Neal iann_bugzilla at blueyonder.co.uk
Sat Jan 2 05:17:47 CET 2010


  Alvaro Soliverez wrote:
> On Fri, Jan 1, 2010 at 9:54 PM, Ian Neal<iann_bugzilla at blueyonder.co.uk>  wrote:
>>   Hi,
>>
>> I noticed that we already have in CMakeLists.txt:
>> find_package(KdepimLibs REQUIRED)
>>
>> but what else do I need to add and to where so that files further down
>> in the tree know what to do with:
>> #include<KHolidays/Holidays>
>>
>> I have tried adding ${KDEPIM_DEFINITIONS} to add_definitions and
>> ${KDEPIMLIBS_INCLUDE_DIRS} to include_directories in CMakeLists.txt but
>> I still get, when building, errors similar to:
>> undefined reference to `KHolidays::HolidayRegion::locations()
> Hello Ian,
> are you sure that class is available in the KDE version you are using?
> The KDE PIM libraries seem to be rather unstable lately. We are having
> such a problem with libkleo at the moment.
>
Yes, well at least it looks like it is available under 
/usr/include/kde4/kholidays/holidays.h on my system, I am on KDE 4.3.4.

Regards,

Ian



More information about the KMyMoney-devel mailing list