cs_Sunsawe
Messages postés64Date d'inscriptionmardi 21 juin 2005StatutMembreDernière intervention 5 avril 2007
-
22 juin 2005 à 12:42
cs_LordBob
Messages postés2865Date d'inscriptionsamedi 2 novembre 2002StatutMembreDernière intervention11 mai 2009
-
24 juin 2005 à 11:21
Bonjour à tous.
Je cherche donc à installer la dernière version à ce jour de wxWidgets avec VC++.
Linking...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in
LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _exit already defined in
LIBCD.lib(crt0dat.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in
LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in
LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in
LIBCD.lib(memmove.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _tolower already defined in
LIBCD.lib(tolower.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _toupper already defined in
LIBCD.lib(toupper.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strtol already defined in
LIBCD.lib(strtol.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strtoul already defined in
LIBCD.lib(strtol.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __vsnprintf already defined in
LIBCD.lib(vsnprint.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strstr already defined in
LIBCD.lib(strstr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _abort already defined in
LIBCD.lib(abort.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncpy already defined in
LIBCD.lib(strncpy.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __snprintf already defined in
LIBCD.lib(snprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fflush already defined in
LIBCD.lib(fflush.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strchr already defined in
LIBCD.lib(strchr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncmp already defined in
LIBCD.lib(strncmp.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fclose already defined in
LIBCD.lib(fclose.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __get_osfhandle already defined in
LIBCD.lib(osfinfo.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined in
LIBCD.lib(sprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __close already defined in
LIBCD.lib(close.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __write already defined in
LIBCD.lib(write.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __commit already defined in
LIBCD.lib(commit.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _calloc already defined in
LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __CrtSetDbgFlag already defined in
LIBCD.lib(dbgheap.obj)
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other
libs; use /NODEFAULTLIB:library
wxmsw26d_core.lib(app.obj) : error LNK2001: unresolved external symbol
__imp__InitCommonControls@0
wxmsw26d_core.lib(window.obj) : error LNK2001: unresolved external symbol
__imp___TrackMouseEvent@4
wxmsw26d_core.lib(statbr95.obj) : error LNK2001: unresolved external symbol
__imp__CreateStatusWindowA@16
wxmsw26d_core.lib(spinbutt.obj) : error LNK2001: unresolved external symbol
__imp__CreateUpDownControl@48
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_Create@20
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_Destroy@4
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_GetImageCount@4
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_GetIconSize@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_Add@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_AddMasked@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_ReplaceIcon@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_Replace@16
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_Remove@8
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_Draw@24
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_SetBkColor@8
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol
__imp__ImageList_GetIcon@12
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol
__imp__UuidToStringA@8
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol
__imp__RpcStringFreeA@4
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol
__imp__UuidCreate@4
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol
__imp__UuidFromStringA@8
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/hello2.exe : fatal error LNK1120: 21 unresolved externals
Quelqu'un peut il m'indiquer comment solutionner ce problème?
Des jours que je suis au point mort dans mon projet à cause de divers
problèmes de librairies que j'arrive pas à installer. Alors franchement
à l'aide.
Merci
A voir également:
[VC++6\wxWidgets] Problème à l'installation de v2.6.1
cs_LordBob
Messages postés2865Date d'inscriptionsamedi 2 novembre 2002StatutMembreDernière intervention11 mai 20099 24 juin 2005 à 11:21
non c'est bon probleme résolue hier soire...
en fait il ne mettait pas les librairies de wxWidgets nécessaire à la compilation dans son projet et ne spéciafier pas "DLL Multithread" !
Bob...
"La chance accorde ses faveur aux esprits avertis..."
cs_LordBob
Messages postés2865Date d'inscriptionsamedi 2 novembre 2002StatutMembreDernière intervention11 mai 20099 22 juin 2005 à 13:11
tout simplement tu vas dans le dossier: C:\dossier_wxWidgets\build\msw, tu ouvres "wx.dsw", tu compiles et voila !
personnellement, j'ai rien fait d'autre, tout c'est fait tout seul !
Bob...
"La chance accorde ses faveur aux esprits avertis..."
cs_Sunsawe
Messages postés64Date d'inscriptionmardi 21 juin 2005StatutMembreDernière intervention 5 avril 2007 22 juin 2005 à 14:38
oui mais non. Regarde je sais que c'est un peut fouiller parce que les
liens n'apparaissent pas dans mon post mais j'ai pris toutes mes infos
sur ce site.
ensuite la méthode que tu décris est valable pour les versions antérieures à la 2.5.4
cs_LordBob
Messages postés2865Date d'inscriptionsamedi 2 novembre 2002StatutMembreDernière intervention11 mai 20099 22 juin 2005 à 16:27
Sunsawe << ecoute je viens de telecharger wxWidgets 2.6.1 et de reussir à le compiler sans aucun problème et en ne cahngeant rien !
tu lance ouvre le fichier wxWindows.dsp qu'il y a dans le repertoire src du dossier de wxWidgets. Tu compiles et ca devrais marchait !
Bob...
"La chance accorde ses faveur aux esprits avertis..."
cs_Sunsawe
Messages postés64Date d'inscriptionmardi 21 juin 2005StatutMembreDernière intervention 5 avril 2007 22 juin 2005 à 16:35
le problème n'est pas tant de compilé la librairie que de l'utiliser.
Tu a essayé de l'utiliser? ça fonctionnne? Le hello world t'as essayé?
Parce que moi aussi bien que des dll ne se compile pas, toutes les .lib
mais impossible de compiler un projet avec.
cs_Sunsawe
Messages postés64Date d'inscriptionmardi 21 juin 2005StatutMembreDernière intervention 5 avril 2007 22 juin 2005 à 21:52
Ouh la je vois que la moitié de mon précédent message a été mangé. Donc
je disais qu'il y a bien des dll qui ne se compilent pas, mais toutes
les .lib se compilent donc normalement, il y a ce qu'il faut pour faire
un projet avec.
cs_Sunsawe
Messages postés64Date d'inscriptionmardi 21 juin 2005StatutMembreDernière intervention 5 avril 2007 22 juin 2005 à 22:35
J'ai oublié de préciser quelque chose. Quelqu'un pourrait il
m'expliquer pourquoi, je peux compiler et executer les exemples fournit
avec la librairie mais rien d'autre. Quelque soit le code que j'essai
de compiler en dehors de ça, j'ai les erreurs suivantes et toujours les
mêmes quelque soit le code:
Linking...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _exit already defined in LIBCD.lib(crt0dat.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _toupper already defined in LIBCD.lib(toupper.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strtol already defined in LIBCD.lib(strtol.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strtoul already defined in LIBCD.lib(strtol.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __vsnprintf already defined in LIBCD.lib(vsnprint.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strstr already defined in LIBCD.lib(strstr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _abort already defined in LIBCD.lib(abort.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncpy already defined in LIBCD.lib(strncpy.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __snprintf already defined in LIBCD.lib(snprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fflush already defined in LIBCD.lib(fflush.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strchr already defined in LIBCD.lib(strchr.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _strncmp already defined in LIBCD.lib(strncmp.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __get_osfhandle already defined in LIBCD.lib(osfinfo.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _sprintf already defined in LIBCD.lib(sprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __close already defined in LIBCD.lib(close.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __write already defined in LIBCD.lib(write.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __commit already defined in LIBCD.lib(commit.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _calloc already defined in LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __CrtSetDbgFlag already defined in LIBCD.lib(dbgheap.obj)
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
wxmsw26d_core.lib(app.obj) : error LNK2001: unresolved external symbol __imp__InitCommonControls@0
wxmsw26d_core.lib(window.obj) : error LNK2001: unresolved external symbol __imp___TrackMouseEvent@4
wxmsw26d_core.lib(statbr95.obj) : error LNK2001: unresolved external symbol __imp__CreateStatusWindowA@16
wxmsw26d_core.lib(spinbutt.obj) : error LNK2001: unresolved external symbol __imp__CreateUpDownControl@48
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Create@20
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Destroy@4
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetImageCount@4
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIconSize@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Add@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_AddMasked@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_ReplaceIcon@12
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Replace@16
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Remove@8
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_Draw@24
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_SetBkColor@8
wxmsw26d_core.lib(imaglist.obj) : error LNK2001: unresolved external symbol __imp__ImageList_GetIcon@12
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidToStringA@8
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__RpcStringFreeA@4
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidCreate@4
wxmsw26d_core.lib(uuid.obj) : error LNK2001: unresolved external symbol __imp__UuidFromStringA@8
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
cs_LordBob
Messages postés2865Date d'inscriptionsamedi 2 novembre 2002StatutMembreDernière intervention11 mai 20099 22 juin 2005 à 23:19
bon j'ai repris tout le poste à tete reposer... et j'ai compiler wxWidget, de la facon dont tu dis donc en compilant le projet qui se trouve dans le repertoire ...\build\msw\wx.dsp aucun probleme de compilation pour ma part, donc c'est bizar que toi tu es des probleme ! j'ai effectivement toutes les librairie qui se sont bien généré ! donc je ne vois pas d'ou peut venir le probleme... juste pour info quand tu as telecharger le fichier wxWidgets, tu as pris l'installation ou le zip ? bien que je ne pense pas que ca change quelque chose moi j'ai pris le zip.
Bob...
"La chance accorde ses faveur aux esprits avertis..."
cs_Sunsawe
Messages postés64Date d'inscriptionmardi 21 juin 2005StatutMembreDernière intervention 5 avril 2007 23 juin 2005 à 11:30
Je viens de réinstaller le tout, jusqu'à visual c++ même. Et même
chose. Exactement la même chose. Alors quelqu'un arrive t'il à compiler
du code qui ne vient pas des exemples? et lequel?