I'm trying to build KMyMoney with the OFX importer plugin enabled using mingw4. I've battled through various issues to get aqbanking, opensp and libofx all compiled and installed. Now I'm stumped by a link problem in the OFX importer plugin itself, see below. I can see the symbols using objdump in the import library, libkmm_mymoney.dll.a, which is included in the link. The kbanking plugin links OK and uses the same symbols. So I'm guessing that it is some feature of c++ that is beyond me. Any ideas anyone?
Andrew Linking CXX shared module ..\..\..\bin\kmm_ofximport.dll ..\..\..\bin\libkmm_ofximport_dialogs.a(konlinebankingsetupwizard.obj): In function `ListViewItem': H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s/konlinebankingsetupwizard.cpp:420: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerD2Ev' H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s/konlinebankingsetupwizard.cpp:420: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerD2Ev' ..\..\..\bin\libkmm_ofximport_dialogs.a(konlinebankingsetupwizard.obj):H:/src/km /svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialogs/konline bankingsetupwizard.cpp:286: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerC1Ev' ..\..\..\bin\libkmm_ofximport_dialogs.a(konlinebankingsetupwizard.obj): In function `~ListViewItem': H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s//konlinebankingsetupwizard.h:77: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerD2Ev' H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s//konlinebankingsetupwizard.h:77: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerD2Ev' H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s//konlinebankingsetupwizard.h:77: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerD2Ev' H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s//konlinebankingsetupwizard.h:77: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerD2Ev' ..\..\..\bin\libkmm_ofximport_dialogs.a(mymoneyofxconnector.obj): In function `MyMoneyOfxConnector': H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s/mymoneyofxconnector.cpp:135: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerC1Ev' H:/src/km/svn/trunk/playground/office/kmymoney/kmymoney/plugins/ofximport/dialog s/mymoneyofxconnector.cpp:135: undefined reference to `_imp___ZN24MyMoneyKeyValueContainerC1Ev' collect2: ld returned 1 exit status mingw32-make[2]: *** [bin/kmm_ofximport.dll] Error 1 mingw32-make[1]: *** [kmymoney/plugins/ofximport/CMakeFiles/kmm_ofximport.dir/all] Error 2 mingw32-make: *** [all] Error 2 _______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
