[Kde-pim] akonadiconsole linking error

Volker Krause vkrause at kde.org
Thu Jan 17 08:46:38 GMT 2008


On Wednesday 16 January 2008 23:30:03 Jarosław Staniek wrote:
> Any idea what's wrong?
>
> This happens because of these lines in BrowserWidget::BrowserWidget():
> <code>
>    CollectionPropertiesDialog::registerPage<CollectionAttributePage>();
>    CollectionPropertiesDialog::registerPage<CollectionInternalsPage>();
> </code>
>
>
> (msvc 2k5):
>
> Linking CXX executable ..\..\..\bin\akonadiconsole.exe
> browserwidget.obj : error LNK2001: unresolved external symbol "public:
> virtual class Akonadi::CollectionPropertiesPage * __thiscall
> Akonadi::CollectionPropertiesPageFactory<class
> CollectionAttributePage>::createWidget(class QWidget *)const
> "
> (?createWidget@?$CollectionPropertiesPageFactory at VCollectionAttributePage@@
>@Akonadi@@UBEPAVCollectionPropertiesPage at 2@PAVQWidget@@@Z) browserwidget.obj
> : error LNK2001: unresolved external symbol "public: virtual class
> Akonadi::CollectionPropertiesPage * __thiscall
> Akonadi::CollectionPropertiesPageFactory<class
> CollectionInternalsPage>::createWidget(class QWidget *)const
> "
> (?createWidget@?$CollectionPropertiesPageFactory at VCollectionInternalsPage@@
>@Akonadi@@UBEPAVCollectionPropertiesPage at 2@PAVQWidget@@@Z)
> ..\..\..\bin\akonadiconsole.exe : fatal error LNK1120: 2 unresolved
> externals

Just guessing here: Might be the export macro of 
CollectionPropertiesPageFactory. That's a template class, ie. the concrete 
instances are not really part of libakonadi and thus can't be exported from 
it.

regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080117/50ac0441/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list