[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmymoney-devel
Subject:    Re: [Kmymoney-devel] import libraries
From:       Ralf Habacker <ralf () habacker ! de>
Date:       2014-03-05 13:40:33
Message-ID: 53172951.9040005 () habacker ! de
[Download RAW message or body]

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 <library_name>___EXPORT 
<classname> ...
> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic