Urgent : error LNK2019: symbole externe non résolu

cs_Spawnrider Messages postés 254 Date d'inscription jeudi 30 janvier 2003 Statut Membre Dernière intervention 9 avril 2007 - 8 mars 2006 à 14:37
cs_Spawnrider Messages postés 254 Date d'inscription jeudi 30 janvier 2003 Statut Membre Dernière intervention 9 avril 2007 - 9 mars 2006 à 02:58
Bonjour,

Je souhaites créer une DLL.
J'ai un petit soucis ...
J'obtient ce genre de message d'erreur a l'edition des liens :
my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall ExtDisp::ExternalDisplay::~ExternalDisplay(void)" (__imp_??1ExternalDisplay@ExtDisp@@QAE@XZ) référencé dans la fonction "public: void * __thiscall ExtDisp::ExternalDisplay::`scalar deleting destructor'(unsigned int)" (??_GExternalDisplay@ExtDisp@@QAEPAXI@Z)

my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall ExtDisp::ExternalDisplay::setDelay(unsigned short)" (__imp_?setDelay@ExternalDisplay@ExtDisp@@QAEXG@Z) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)

my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall ExtDisp::ExternalDisplay::SetDisplaySize(unsigned short,unsigned short)" (__imp_?SetDisplaySize@ExternalDisplay@ExtDisp@@QAEXGG@Z) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)

my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall ExtDisp::ExternalDisplay::SetWiring(enum LPTPIN,enum LPTPIN,enum LPTPIN,enum LPTPIN)" (__imp_?SetWiring@ExternalDisplay@ExtDisp@@QAEXW4LPTPIN@@000@Z) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)

my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) const ExtDisp::T6963C::`vftable'" (__imp_??_7T6963C@ExtDisp@@6B@) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)

my_plugin1.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall ExtDisp::ExternalDisplay::ExternalDisplay(void)" (__imp_??0ExternalDisplay@ExtDisp@@QAE@XZ) référencé dans la fonction "public: virtual long __stdcall Cmy_plugin1::OnLoad(struct TPluginInfos *)" (?OnLoad@Cmy_plugin1@@UAGJPAUTPluginInfos@@@Z)

Release/my_plugin1.dll : fatal error LNK1120: 6 externes non résolus

Les fonctions que j'appelle se trouvent dans une autre librairie libextdisp (je dispose donc d'un fichier libextdisp.lib, d'un libextdisp.dll, d'un libextdisp.a, libextdisp.def, libextdisp.exp) ...
Mais je ne sais pas quoi en faire et comment les inserer dans mon projet de facon a ce que l'editeur de lien trouvre ma librairie...

Je travail sous visual C++ (Studio .NET 2003).

Merci d'avance ;)

##########################
# Alphaspawnrider@Yohann
# alphaspawnrider@hotmail.com
##########################

5 réponses

Guillemouze Messages postés 991 Date d'inscription samedi 25 octobre 2003 Statut Membre Dernière intervention 29 août 2013 6
8 mars 2006 à 17:23
il faut que tu aille dans
options -> projects & solutions -> directories
et que tu ajoute les bons paths dans les categories correspondantes

...enfin je pense
0
Rejoignez-nous