Bonjour
Je pr�cise avant tout que je suis d�butant en C++ donc soyez indulgent
Je dois r�aliser quelques tests sur un middleware et je dois int�grer une api � mon projet. Cette api se compose d'une librairie statique (.lib) une librairie dynamique .dll et un certains nombre de fichiers d'en-t�tes dans un repertoire include. Mon projet ne contient que le fichier testPIN.cpp pour l'instant. Pour les options de compilation j'ai rajout� -l[nom de la libraire statique] dans "options du projet","parametres", "editeur de liens" (en ayant mis la librairie dans le meme repertoire que mon .dev). Dans l'onglet "repertoires", "r�pertoires d'inclusion" j'ai rajout� mon repertoire "include" contenant mes headers. Je compile et la j'ai une liste de references indefinies bizarres
g++.exe -D__DEBUG__ -c testPIN.cpp -o testPIN.o -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Documents and Settings/pantalat/Mes documents/TESTIAS/include" -pg -g3
g++.exe -D__DEBUG__ testPIN.o -o "TestIAS.exe" -L"C:/Dev-Cpp/lib" -L"C:/Documents and Settings/pantalat/Mes documents/TESTIAS/lib" -L"C:/Documents and Settings/pantalat/Mes documents/TESTIAS/_bin/Win32" -lIASAPId -lIASAPI -lgmon -pg -g3
testPIN.o(.text+0x18c): In function `Z22IASAPIdocument_sample2RN3ias8CIASCardE':
C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:23: undefined reference to `_imp___ZN3ias5CBlobC1ERKSs'
testPIN.o(.text+0x231):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:24: undefined reference to `_imp___ZN3ias5CBlobC1Ev'
testPIN.o(.text+0x285):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:27: undefined reference to `_imp___ZN3ias8CIASCard8sendAPDUEhhhhRKNS_5CBlobEmRS1_Rt'
testPIN.o(.text+0x2a3):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:36: undefined reference to `_imp___ZN3ias3_HBERKNS_5CBlobE'
testPIN.o(.text+0x430):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:37: undefined reference to `ias::CBlob::~CBlob()'
testPIN.o(.text+0x453):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:37: undefined reference to `ias::CBlob::~CBlob()'
testPIN.o(.text+0x476):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:37: undefined reference to `ias::CBlob::~CBlob()'
testPIN.o(.text+0x4af):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:37: undefined reference to `ias::CBlob::~CBlob()'
testPIN.o(.text+0x558): In function `main':
C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:48: undefined reference to `_imp___ZN3ias13IASInitializeEPPv'
testPIN.o(.text+0x5a8):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:57: undefined reference to `_imp___ZN3ias15IASListReadersAEPvPcPm'
testPIN.o(.text+0x5c5):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:61: undefined reference to `_imp___ZN3ias8CIASCardC1Ev'
testPIN.o(.text+0x5f0):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:62: undefined reference to `_imp___ZN3ias11IASConnectAEPvPcRNS_8CIASCardE'
testPIN.o(.text+0x69e):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:75: undefined reference to `_imp___ZNK3ias13CIASException2swEv'
testPIN.o(.text+0x6e2):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:75: undefined reference to `_imp___ZNK3ias13CIASException5errorEv'
testPIN.o(.text+0x6f8):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:75: undefined reference to `_imp___ZNK3ias13CIASException10errorClassEv'
testPIN.o(.text+0x70e):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:75: undefined reference to `_imp___ZNK3ias13CIASException12descriptionAEv'
testPIN.o(.text+0x869):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:78: undefined reference to `_imp___ZN3ias11IASFinalizeEPv'
testPIN.o(.text+0x89b):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:78: undefined reference to `ias::CIASCard::~CIASCard()'
testPIN.o(.text+0x8d7):C:/Documents and Settings/pantalat/Mes documents/TESTIAS/testPIN.cpp:78: undefined reference to `ias::CIASCard::~CIASCard()'
collect2: ld returned 1 exit status
Avez vous une id�e de ce qui peut manquer?
Partager