demande dans un forum mieux adapté. comme celui pour visual
Voici la liste des erreurs
md5.c
Édition des liens en cours...
base64.obj : warning LNK4075: ' /EDITANDCONTINUE' ignoré à cause de la spécification '/OPT:ICF'
Création de la bibliothèque .\output\win32-dbg\win32.lib et de l'objet .\output\win32-dbg\win32.exp
Log.obj : error LNK2019: symbole externe non résolu __imp__MessageBoxW@16 référencé dans la fonction "public: __thiscall Log::Log(int,char const *,char const *)" (??0Log@@QAE@HPBD0@Z)
win32adapter.obj : error LNK2019: symbole externe non résolu __imp__wsprintfW référencé dans la fonction "char * * __cdecl readDir(char *,int *,bool)" (?readDir@@YAPAPADPADPAH_N@Z)
Win32TransportAgent.obj : error LNK2001: symbole externe non résolu __imp__wsprintfW
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetCloseHandle@4 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu _uncompress référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetReadFile@16 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetErrorDlg@20 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__GetDesktopWindow@0 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__HttpQueryInfoW@20 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetGoOnlineW@12 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__HttpSendRequestW@20 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetSetOptionW@16 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu _compress référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__HttpOpenRequestW@32 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetConnectW@32 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu __imp__InternetOpenW@20 référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegCloseKey@4 référencé dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegQueryValueExW@24 référencé dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegCreateKeyExW@36 référencé dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegQueryInfoKeyW@48 référencé dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegOpenKeyExW@20 référencé dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegEnumKeyExW@32 référencé dans la fonction "public: virtual char * * __thiscall DeviceManagementNode::getChildrenNames(void)" (?getChildrenNames@DeviceManagementNode@@UAEPAPADXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegSetValueExW@24 référencé dans la fonction "public: virtual void __thiscall DeviceManagementNode::setPropertyValue(char const *,char const *)" (?setPropertyValue@DeviceManagementNode@@UAEXPBD0@Z)
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptReleaseContext@8 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptReleaseContext@8
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDestroyHash@4 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptDestroyHash@4
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDestroyKey@4 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptDestroyKey@4
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDecrypt@24 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptSetKeyParam@16 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptSetKeyParam@16
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDeriveKey@20 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptDeriveKey@20
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptHashData@16 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptHashData@16
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptCreateHash@20 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptCreateHash@20
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptAcquireContextW@20 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptAcquireContextW@20
DESEncoder.obj : error LNK2019: symbole externe non résolu __imp__CryptEncrypt@28 référencé dans la fonction "public: virtual char * __thiscall DESEncoder::transform(char *,struct TransformationInfo &)" (?transform@DESEncoder@@UAEPADPADAAUTransformationInfo@@@Z)
.\output\win32-dbg\win32.dll : fatal error LNK1120: 32 externes non résolus
Cela vient t'il de la zlib ?
Comment l'intégrer dans la dll ?
Merci
Le projet n'est pas lié aux bibliothèques d'importation de Windows.
- Pour MessageBoxW() et les autres fonctions USER : ajouter user32.lib aux options d'édition de liens.
- Pour les fonctions de la CryptoAPI et celles des registres : ajouter Advapi32.lib
- Pour les fonctions Internet : ajouter wininet.lib
Pour le reste, ben, tu fais comme les autres: Tu regardes dans l'aide des fonctions sur MSDN et tu ajoutes la bibliothèque d'importation indiquée!
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Heureusement que j'ai dit "ajouter aux options d'édition de liens"...
Project Properties -> Configuration properties -> Linker -> Input -> champ Additional Dependencies.
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Le L5G de windev est a des années lumières en avance sur VC++ ...
La programmation orientée objet est un régal avec les ciollections de procédures classes et méthodes ...
désolé mais je ne m'en sors pas avec VC++ ...
Il y a une 15aine d'années je dévellopé en C mais bon ... depuis avec les languages évolués ...
Mais la il se trouve que le SDK est proposé en C++ ...
Et je n'ai pas trouvé de version compilée ... Voila pourquoi j'ai téléchargé Visual C++ Express ...
Merci pour votre aide ...
PS : Je ne sais toujours pas comment intégrer les lib et pouvoir enfin générer ma DLL ...
As-tu le SDK, qui se télécharge séparément de VC++ Express ?
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Normalement, tu n'as pas à mettre le chemin complet.
Si Visual ne trouve pas la lib, il faudra rajouter le répertoire dans les options de Visual. Mais normalement, l'installeur du Platform SDK a du s'en charger...
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Normalement, oui.
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Voici ce que j'ai dans les options de bibliothèques de VC++.
Ça doit être bon.
As-tu toujours des erreurs ?
Si oui, lesquelles ?
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
J'ai intégré user32.lib et wininet.lib (je pense que le chemin des lib du sdk est correct maintenant voir post ci dessus)
Il me reste 28 erreurs a la compilation ... quelqu'un peux me dire quelle(s) lib inclure ppour ces erreurs ci ?
------ Début de la génération*: Projet*: win32, Configuration*: Debug Win32 ------
Édition des liens en cours...
base64.obj : warning LNK4075: ' /EDITANDCONTINUE' ignoré à cause de la spécification '/OPT:ICF'
Création de la bibliothèque .\output\win32-dbg\win32.lib et de l'objet .\output\win32-dbg\win32.exp
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu _uncompress référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
Win32TransportAgent.obj : error LNK2019: symbole externe non résolu _compress référencé dans la fonction "public: virtual char * __thiscall Win32TransportAgent::sendMessage(char const *)" (?sendMessage@Win32TransportAgent@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegCloseKey@4 référencé dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegQueryValueExW@24 référencé dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegCreateKeyExW@36 référencé dans la fonction "public: virtual char * __thiscall DeviceManagementNode::readPropertyValue(char const *)" (?readPropertyValue@DeviceManagementNode@@UAEPADPBD@Z)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegQueryInfoKeyW@48 référencé dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegOpenKeyExW@20 référencé dans la fonction "public: virtual int __thiscall DeviceManagementNode::getChildrenMaxCount(void)" (?getChildrenMaxCount@DeviceManagementNode@@UAEHXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegEnumKeyExW@32 référencé dans la fonction "public: virtual char * * __thiscall DeviceManagementNode::getChildrenNames(void)" (?getChildrenNames@DeviceManagementNode@@UAEPAPADXZ)
DeviceManagementNode.obj : error LNK2019: symbole externe non résolu __imp__RegSetValueExW@24 référencé dans la fonction "public: virtual void __thiscall DeviceManagementNode::setPropertyValue(char const *,char const *)" (?setPropertyValue@DeviceManagementNode@@UAEXPBD0@Z)
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptReleaseContext@8 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptReleaseContext@8
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDestroyHash@4 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptDestroyHash@4
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDestroyKey@4 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptDestroyKey@4
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDecrypt@24 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptSetKeyParam@16 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptSetKeyParam@16
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptDeriveKey@20 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptDeriveKey@20
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptHashData@16 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptHashData@16
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptCreateHash@20 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptCreateHash@20
DESDecoder.obj : error LNK2019: symbole externe non résolu __imp__CryptAcquireContextW@20 référencé dans la fonction "public: virtual char * __thiscall DESDecoder::transform(char *,struct TransformationInfo &)" (?transform@DESDecoder@@UAEPADPADAAUTransformationInfo@@@Z)
DESEncoder.obj : error LNK2001: symbole externe non résolu __imp__CryptAcquireContextW@20
DESEncoder.obj : error LNK2019: symbole externe non résolu __imp__CryptEncrypt@28 référencé dans la fonction "public: virtual char * __thiscall DESEncoder::transform(char *,struct TransformationInfo &)" (?transform@DESEncoder@@UAEPADPADAAUTransformationInfo@@@Z)
.\output\win32-dbg\win32.dll : fatal error LNK1120: 19 externes non résolus
Le journal de génération a été enregistré à l'emplacement "file://c:\Documents and Settings\Cyril\Mes documents\Projets Windev 10\C-Logik\SyncML\Funambol sdk C++\Funambol\sdk\c++\build\win32\output\win32-dbg-object\BuildLog.htm"
win32 - 28 erreur(s), 1 avertissement(s)
========== Génération*: 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré ==========
Merci ....
Partager