On 05.03.2014 12:15, Chris wrote: > > When compiling kmymoney 4.6.4 on windows it appears my imports and > exports are somehow out of sync > > I get a huge number of unresolved references as I have previously > mentioned. > > It appears the problem is that the libraries are built without the > windows specific "_imp__" on the exports which would means it has been build without __declspec(dllexport). Normally exported classes have a class ___EXPORT ... > but when I am compiling kmymoney the linker is expecting the "_imp__" > + mangled name which means the public header of KLocale defines declspec(dllimport) on usage. > > for example the linker is looking for > _imp___ZNK7KLocale28negativeMonetarySignPositionEv > but the export is called _ZNK7KLocale28negativeMonetarySignPositionEv > I assume I have to pass another flag or remove a flag from gcc to tell > it to look for the correct export. but I am not sure how to do this. > > Any pointers would be greatly appreciated. I would say the problem happens on compiling kdelibs. Ralf _______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel