MSVC9 linking error

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

MSVC9 linking error

Gilles Caulier-4
marcel,

On libs/database, MSVC9 cannot link thumbnails dabase code :

------ Début de la génération : Projet : digikamcore, Configuration :
Debug Win32 ------
Édition des liens en cours...
   Création de la bibliothèque
E:\devel-msvc\graphics\bin\Debug\digikamlib.lib et de l'objet
E:\devel-msvc\graphics\bin\Debug\digikamlib.exp
thumbnaildb.obj : error LNK2019: symbole externe non résolu
"__declspec(dllimport) public: __thiscall
Digikam::DatabaseThumbnailInfo::~DatabaseThumbnailInfo(void)"
(__imp_??1DatabaseThumbnailInfo@Digikam@@QAE@XZ) référencé dans la
fonction "public: class Digikam::DatabaseThumbnailInfo __thiscall
Digikam::ThumbnailDB::findByHash(class QString const &,int)"
(?findByHash@ThumbnailDB@Digikam@@QAE?AVDatabaseThumbnailInfo@2@ABVQString@@H@Z)
thumbnailcreator.obj : error LNK2001: symbole externe non résolu
"__declspec(dllimport) public: __thiscall
Digikam::DatabaseThumbnailInfo::~DatabaseThumbnailInfo(void)"
(__imp_??1DatabaseThumbnailInfo@Digikam@@QAE@XZ)
thumbnaildb.obj : error LNK2019: symbole externe non résolu
"__declspec(dllimport) public: __thiscall
Digikam::DatabaseThumbnailInfo::DatabaseThumbnailInfo(class
Digikam::DatabaseThumbnailInfo const &)"
(__imp_??0DatabaseThumbnailInfo@Digikam@@QAE@ABV01@@Z) référencé dans
la fonction "public: class Digikam::DatabaseThumbnailInfo __thiscall
Digikam::ThumbnailDB::findByHash(class QString const &,int)"
(?findByHash@ThumbnailDB@Digikam@@QAE?AVDatabaseThumbnailInfo@2@ABVQString@@H@Z)
thumbnaildb.obj : error LNK2019: symbole externe non résolu
"__declspec(dllimport) public: __thiscall
Digikam::DatabaseThumbnailInfo::DatabaseThumbnailInfo(void)"
(__imp_??0DatabaseThumbnailInfo@Digikam@@QAE@XZ) référencé dans la
fonction "public: class Digikam::DatabaseThumbnailInfo __thiscall
Digikam::ThumbnailDB::findByHash(class QString const &,int)"
(?findByHash@ThumbnailDB@Digikam@@QAE?AVDatabaseThumbnailInfo@2@ABVQString@@H@Z)
thumbnailcreator.obj : error LNK2001: symbole externe non résolu
"__declspec(dllimport) public: __thiscall
Digikam::DatabaseThumbnailInfo::DatabaseThumbnailInfo(void)"
(__imp_??0DatabaseThumbnailInfo@Digikam@@QAE@XZ)
thumbnailcreator.obj : error LNK2019: symbole externe non résolu
"__declspec(dllimport) public: class Digikam::DatabaseThumbnailInfo &
__thiscall Digikam::DatabaseThumbnailInfo::operator=(class
Digikam::DatabaseThumbnailInfo const &)"
(__imp_??4DatabaseThumbnailInfo@Digikam@@QAEAAV01@ABV01@@Z) référencé
dans la fonction "private: class Digikam::ThumbnailImage __thiscall
Digikam::ThumbnailCreator::loadFromDatabase(class
Digikam::ThumbnailInfo const &)"
(?loadFromDatabase@ThumbnailCreator@Digikam@@AAE?AVThumbnailImage@2@ABVThumbnailInfo@2@@Z)
E:\devel-msvc\graphics\bin\Debug\digikamlib.dll : fatal error LNK1120:
4 externes non résolus

All the rest compile and link fine...

Note : with MinGW, no problem.

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: MSVC9 linking error

Marcel Wiesweg
> marcel,
>
> On libs/database, MSVC9 cannot link thumbnails dabase code :
>
...
> All the rest compile and link fine...
>
> Note : with MinGW, no problem.

What could be wrong here? The declaration is there, the implementation, the
DIGIKAM_EXPORT macro. Other methods of this class seem to be found. No idea.

Marcel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: MSVC9 linking error

Gilles Caulier-4
2009/6/18 Marcel Wiesweg <[hidden email]>:

>> marcel,
>>
>> On libs/database, MSVC9 cannot link thumbnails dabase code :
>>
> ...
>> All the rest compile and link fine...
>>
>> Note : with MinGW, no problem.
>
> What could be wrong here? The declaration is there, the implementation, the
> DIGIKAM_EXPORT macro. Other methods of this class seem to be found. No idea.
>
> Marcel

This is why i post the question (-:=)))

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: MSVC9 linking error

Bugzilla from andi.clemens@gmx.net
Hey Gilles,

don't post questions noone can answer :-)
Hmm let's say it's Microsoft's fault.
I can't see anything special here, too.

Maybe SaroEngels knows what to do?

Andi

On Thursday 18 June 2009 19:29:55 Gilles Caulier wrote:

> 2009/6/18 Marcel Wiesweg <[hidden email]>:
> >> marcel,
> >>
> >> On libs/database, MSVC9 cannot link thumbnails dabase code :
> >
> > ...
> >
> >> All the rest compile and link fine...
> >>
> >> Note : with MinGW, no problem.
> >
> > What could be wrong here? The declaration is there, the implementation,
> > the DIGIKAM_EXPORT macro. Other methods of this class seem to be found.
> > No idea.
> >
> > Marcel
>
> This is why i post the question (-:=)))
>
> Gilles
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: MSVC9 linking error

Gilles Caulier-4
Just fixed by patrick :

http://websvn.kde.org/?view=rev&revision=983661

Gilles

2009/6/18 Andi Clemens <[hidden email]>:

> Hey Gilles,
>
> don't post questions noone can answer :-)
> Hmm let's say it's Microsoft's fault.
> I can't see anything special here, too.
>
> Maybe SaroEngels knows what to do?
>
> Andi
>
> On Thursday 18 June 2009 19:29:55 Gilles Caulier wrote:
>> 2009/6/18 Marcel Wiesweg <[hidden email]>:
>> >> marcel,
>> >>
>> >> On libs/database, MSVC9 cannot link thumbnails dabase code :
>> >
>> > ...
>> >
>> >> All the rest compile and link fine...
>> >>
>> >> Note : with MinGW, no problem.
>> >
>> > What could be wrong here? The declaration is there, the implementation,
>> > the DIGIKAM_EXPORT macro. Other methods of this class seem to be found.
>> > No idea.
>> >
>> > Marcel
>>
>> This is why i post the question (-:=)))
>>
>> Gilles
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel