[Kmymoney-devel] Problems building KDE4 version with OFX Direct Connect support

Michaël Lhomme papylhomme at gmail.com
Wed Oct 14 16:06:55 CEST 2009


On Wed, Oct 14, 2009 at 3:49 PM, Alvaro Soliverez <asoliverez at gmail.com>wrote:

> Hello Michael,
> Did you try "ccmake ." in your build directory? That will offer a more
> friendly interface to change the cmake settings.
> Regards,
> Alvaro
>
> On Wed, Oct 14, 2009 at 10:47 AM, Michael Wolfe <wolfemi1 at gmail.com>wrote:
>
>> Hello all,
>>
>> Thanks for all your help so far.  I tried using Mr. Lhomme's solution to
>> not being able to build the OFX plugin, but I was not successful with it.  I
>> don't think I've adequately explained what I want to do.
>> When I built the KDE3 version from CVS, there was a ./configure command
>> line that enabled OFX direct connect as well as the OFX plugin (I think i've
>> lost the actual line that did this).  I'm trying to find the CMake
>> equivalent of this for the KDE4 version.  Basically, something that will
>> make the attached .png read "yes" for the "OFX direct connect" and "OFX
>> plugin".
>>
>> Anyone familiar with this?  I have a feeling that it's easy to do once you
>> know how.  :D
>>
>> Thanks,
>>
>> Mike Wolfe
>>
>>
>>
>> _______________________________________________
>> KMyMoney-devel mailing list
>> KMyMoney-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>>
>>
>
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
>
Hello,

I guess there is no such flag for KMM with cmake. If the OFX library is
found then it enable the OFX plugin, otherwise the plugin is disabled. There
should be a line about looking for OFX in the configuration phase (before
the summary).

You should try to find the file "libofx.h" somewhere on your system.If you
are using a binary distribution, this file may be provided by a "devel"
package.

Here is the relevant part from CMakeList.txt

CHECK_INCLUDE_FILE("libofx/libofx.h" HAVE_LIBOFX_H)
IF(HAVE_LIBOFX_H)
    OPTION(USE_OFX_DIRECTCONNECT "Enable to compile with ofximport support"
ON)
    # the USE_OFX_DIRECTCONNECT preprocessor definition will be written
    # to config.h as specified in config.h.cmake
ENDIF(HAVE_LIBOFX_H)

Regards

-- 
Michaël Lhomme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091014/65481586/attachment.htm 


More information about the KMyMoney-devel mailing list