[Kmymoney-devel] Problem with CMake

Michaël Lhomme papylhomme at gmail.com
Mon Oct 12 22:28:50 CEST 2009


On Sat, Oct 10, 2009 at 11:02 PM, Fernando Vilas <fvilas at iname.com> wrote:

> On Saturday 10 October 2009 13:42:11 Alvaro Soliverez wrote:
> > Can someone help Mike?
> > I don't use the plugins myself.
> >
> > On Sat, Oct 10, 2009 at 2:30 PM, Michael Wolfe <wolfemi1 at gmail.com>
> wrote:
> > > Alvaro,
> > >
> > > Thanks!  With your commands, and a whole bunch of apt-fu, I was able to
> > > get it to build.
> > >
> > > Now, I would like to be able to configure the project to use the OFX
> > > plugin, because I can use the Qt4 version as my main version if I have
> > > this enabled.  I didn't see any options to enable it in the readme file
> > > like I did with the CVS version.  Do you know how to enable this?
> > >
> > > Thanks for your help,
> [snip stuff that was fixed]
>
> It autodetects the plugins for me.  Make sure libofx is installed and in a
> directory where it can find libofx/libofx.h
>

Hello,

I ran into the same problem under MacOSX. After one hour of reading CMake
modules files, I found a solution (at least for my case).

OFX wasn't autodetected because header files were not deployed in standard
header directory (in /opt/local/include/libofx/libofx.h instead of
/usr/include/libofx/libofx.h). After adding
-DCMAKE_REQUIRED_INCLUDES=/opt/local/include/, everything went fine.

Just for your information, I'm trying to compile KMM under SnowLeopard. At
the moment, there is problems with undefined reference on QtSql, but apart
this, the Portfile is working (if someone is interested in, please ask me).

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


More information about the KMyMoney-devel mailing list