On Samstag, 22. April 2023 09:10:30 CEST Thomas Baumgart via KMyMoney-devel wrote:
> On Samstag, 22. April 2023 04:58:34 CEST Jack via KMyMoney-devel wrote: > > > On 4/21/23 22:29, Jonatan Cloutier via KMyMoney-devel wrote: > > > > > > Hello, > > > > > > I've been using master for a while and importing transaction with a > > > custom importer I built, so I haven't needed the ofx plugin in a > > > while. I did disable it as the build was failing. But now I have an > > > issue with my importer and would like to see if it happen with ofx as > > > well. Short story, building with ofx give this error: > > > > > > /build/kmymoney/plugins/ofx/import/ofximporter.cpp:In static member > > > function 'static int OFXImporter::ofxAccountCallback(OfxAccountData, > > > void*)': > > > /build/kmymoney/plugins/ofx/import/ofximporter.cpp:765:30:error: > > > 'OFX_401K' is not a member of 'OfxAccountData' > > > 765 | case OfxAccountData::OFX_401K: > > > | ^~~~~~~~ > > > > > > Doesn't seems to be a lib missing, I'd guess a change in data format > > > that wasn't ported to the plugin, but it could also be a missing > > > config in my build. > > > > > > > I've been building from master with ofx import for a long time, with no > > problems, most recently within the past day or so. What version of > > libofx do you have installed? I've got 0.10.9. > > > > Also, try from a completely clean build dir. It doesn't seem likely, > > but it's possible something is left over from an old build. > > It seems that your libofx version is outdated. From the NEWS file, you > need at least 0.10.0 which has the following entry (among others): > > - added a new account type OfxAccountData::OFX_401K > > Unfortunately, the KMyMoney build system does not check for the minimum > version required for libofx. It does now: https://invent.kde.org/office/kmymoney/-/commit/685231cffb5027a2072e4b1622a7f2c69b8969ef -- Regards Thomas Baumgart ------------------------------------------------------------- There are only 10 types of people in the world: those who understand binary arithmetic and those who don't. -------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.