[VC++6\wxWidgets] Problème à l'installation de v2.6.1

Résolu
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 5 avril 2007 - 22 juin 2005 à 12:42
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 - 24 juin 2005 à 11:21
Bonjour à tous.

Je cherche donc à installer la dernière version à ce jour de wxWidgets avec VC++.

Pour cela je suis le guide indiqué ici
http://wiki.wxwidgets.org/wiki.pl?MSVC_Set...2.5.4_And_Later

seulement lors de la compilation de la librairie j'ai ces erreurs:

Linking...

   Creating library ..\..\lib\vc_dll\wxmswuniv26u_xrc.lib and object 

..\..\lib\vc_dll\wxmswuniv26u_xrc.exp

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::GetValue(void)const " 

(?GetValue@wxToggleButton@@UBE_NXZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::SetValue(bool)" 

(?SetValue@wxToggleButton@@UAEX_N@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::Command(class wxCommandEvent &)" 

(?Command@wxToggleButton@@UAEXAAVwxCommandEvent@@@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::MSWCommand(unsigned int,unsigned short)" 

(?MSWCommand@wxToggleButton@@UAE_NIG@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual unsigned long __thiscall wxToggleButton::MSWGetStyle(long,unsigned 

long *)const " (?MSWGetStyle@wxToggleButton@@MBEKJPAK@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual class wxSize __thiscall wxToggleButton::DoGetBestSize(void)const " 

(?DoGetBestSize@wxToggleButton@@MBE?AVwxSize@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual enum wxBorder __thiscall wxToggleButton::GetDefaultBorder(void)const 

" (?GetDefaultBorder@wxToggleButton@@MBE?AW4wxBorder@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

class wxClassInfo * __thiscall wxToggleButton::GetClassInfo(void)const " 

(?GetClassInfo@wxToggleButton@@UBEPAVwxClassInfo@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: bool __thiscall wxToggleButton::Create(class 

wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize 

const &,long,class wxValidator const &,cla

ss wxString const &)" 

(__imp_?Create@wxToggleButton@@QAE_NPAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@JABVwxValidator@@1@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) const wxToggleButton::`vftable'{for 

`wxInputConsumer'}" (__imp_??_7wxToggleButton@@6BwxInputConsumer@@@)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) const wxToggleButton::`vftable'{for `wxControlBase'}" 

(__imp_??_7wxToggleButton@@6BwxControlBase@@@)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: virtual __thiscall 

wxToggleButton::~wxToggleButton(void)" (__imp_??1wxToggleButton@@UAE@XZ)

..\..\lib\vc_dll\wxmswuniv26u_xrc_vc_custom.dll : fatal error LNK1120: 12 

unresolved externals

Error executing link.exe.



wxmswuniv26u_xrc_vc_custom.dll - 13 error(s), 0 warning(s)

--------------------Configuration: xrc - Win32 DLL Universal Unicode 

Debug--------------------

Linking...

   Creating library ..\..\lib\vc_dll\wxmswuniv26ud_xrc.lib and object 

..\..\lib\vc_dll\wxmswuniv26ud_xrc.exp

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::GetValue(void)const " 

(?GetValue@wxToggleButton@@UBE_NXZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::SetValue(bool)" 

(?SetValue@wxToggleButton@@UAEX_N@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::Command(class wxCommandEvent &)" 

(?Command@wxToggleButton@@UAEXAAVwxCommandEvent@@@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::MSWCommand(unsigned int,unsigned short)" 

(?MSWCommand@wxToggleButton@@UAE_NIG@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual unsigned long __thiscall wxToggleButton::MSWGetStyle(long,unsigned 

long *)const " (?MSWGetStyle@wxToggleButton@@MBEKJPAK@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual class wxSize __thiscall wxToggleButton::DoGetBestSize(void)const " 

(?DoGetBestSize@wxToggleButton@@MBE?AVwxSize@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual enum wxBorder __thiscall wxToggleButton::GetDefaultBorder(void)const 

" (?GetDefaultBorder@wxToggleButton@@MBE?AW4wxBorder@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

class wxClassInfo * __thiscall wxToggleButton::GetClassInfo(void)const " 

(?GetClassInfo@wxToggleButton@@UBEPAVwxClassInfo@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: bool __thiscall wxToggleButton::Create(class 

wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize 

const &,long,class wxValidator const &,cla

ss wxString const &)" 

(__imp_?Create@wxToggleButton@@QAE_NPAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@JABVwxValidator@@1@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: __thiscall 

wxToggleButton::wxToggleButton(void)" (__imp_??0wxToggleButton@@QAE@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: static class wxClassInfo 

wxToggleButton::ms_classInfo" 

(__imp_?ms_classInfo@wxToggleButton@@2VwxClassInfo@@A)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: virtual __thiscall 

wxToggleButton::~wxToggleButton(void)" (__imp_??1wxToggleButton@@UAE@XZ)

..\..\lib\vc_dll\wxmswuniv26ud_xrc_vc_custom.dll : fatal error LNK1120: 12 

unresolved externals

Error executing link.exe.



wxmswuniv26ud_xrc_vc_custom.dll - 13 error(s), 0 warning(s)

--------------------Configuration: xrc - Win32 DLL Universal 

Release--------------------

Linking...

   Creating library ..\..\lib\vc_dll\wxmswuniv26_xrc.lib and object 

..\..\lib\vc_dll\wxmswuniv26_xrc.exp

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::GetValue(void)const " 

(?GetValue@wxToggleButton@@UBE_NXZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::SetValue(bool)" 

(?SetValue@wxToggleButton@@UAEX_N@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::Command(class wxCommandEvent &)" 

(?Command@wxToggleButton@@UAEXAAVwxCommandEvent@@@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::MSWCommand(unsigned int,unsigned short)" 

(?MSWCommand@wxToggleButton@@UAE_NIG@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual unsigned long __thiscall wxToggleButton::MSWGetStyle(long,unsigned 

long *)const " (?MSWGetStyle@wxToggleButton@@MBEKJPAK@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual class wxSize __thiscall wxToggleButton::DoGetBestSize(void)const " 

(?DoGetBestSize@wxToggleButton@@MBE?AVwxSize@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual enum wxBorder __thiscall wxToggleButton::GetDefaultBorder(void)const 

" (?GetDefaultBorder@wxToggleButton@@MBE?AW4wxBorder@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

class wxClassInfo * __thiscall wxToggleButton::GetClassInfo(void)const " 

(?GetClassInfo@wxToggleButton@@UBEPAVwxClassInfo@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: bool __thiscall wxToggleButton::Create(class 

wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize 

const &,long,class wxValidator const &,cla

ss wxString const &)" 

(__imp_?Create@wxToggleButton@@QAE_NPAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@JABVwxValidator@@1@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) const wxToggleButton::`vftable'{for 

`wxInputConsumer'}" (__imp_??_7wxToggleButton@@6BwxInputConsumer@@@)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) const wxToggleButton::`vftable'{for `wxControlBase'}" 

(__imp_??_7wxToggleButton@@6BwxControlBase@@@)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: virtual __thiscall 

wxToggleButton::~wxToggleButton(void)" (__imp_??1wxToggleButton@@UAE@XZ)

..\..\lib\vc_dll\wxmswuniv26_xrc_vc_custom.dll : fatal error LNK1120: 12 

unresolved externals

Error executing link.exe.



wxmswuniv26_xrc_vc_custom.dll - 13 error(s), 0 warning(s)

--------------------Configuration: xrc - Win32 DLL Universal 

Debug--------------------

Linking...

   Creating library ..\..\lib\vc_dll\wxmswuniv26d_xrc.lib and object 

..\..\lib\vc_dll\wxmswuniv26d_xrc.exp

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::GetValue(void)const " 

(?GetValue@wxToggleButton@@UBE_NXZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::SetValue(bool)" 

(?SetValue@wxToggleButton@@UAEX_N@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

void __thiscall wxToggleButton::Command(class wxCommandEvent &)" 

(?Command@wxToggleButton@@UAEXAAVwxCommandEvent@@@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

bool __thiscall wxToggleButton::MSWCommand(unsigned int,unsigned short)" 

(?MSWCommand@wxToggleButton@@UAE_NIG@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual unsigned long __thiscall wxToggleButton::MSWGetStyle(long,unsigned 

long *)const " (?MSWGetStyle@wxToggleButton@@MBEKJPAK@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual class wxSize __thiscall wxToggleButton::DoGetBestSize(void)const " 

(?DoGetBestSize@wxToggleButton@@MBE?AVwxSize@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "protected: 

virtual enum wxBorder __thiscall wxToggleButton::GetDefaultBorder(void)const 

" (?GetDefaultBorder@wxToggleButton@@MBE?AW4wxBorder@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol "public: virtual 

class wxClassInfo * __thiscall wxToggleButton::GetClassInfo(void)const " 

(?GetClassInfo@wxToggleButton@@UBEPAVwxClassInfo@@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: bool __thiscall wxToggleButton::Create(class 

wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize 

const &,long,class wxValidator const &,cla

ss wxString const &)" 

(__imp_?Create@wxToggleButton@@QAE_NPAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@JABVwxValidator@@1@Z)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: __thiscall 

wxToggleButton::wxToggleButton(void)" (__imp_??0wxToggleButton@@QAE@XZ)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: static class wxClassInfo 

wxToggleButton::ms_classInfo" 

(__imp_?ms_classInfo@wxToggleButton@@2VwxClassInfo@@A)

xh_tglbtn.obj : error LNK2001: unresolved external symbol 

"__declspec(dllimport) public: virtual __thiscall 

wxToggleButton::~wxToggleButton(void)" (__imp_??1wxToggleButton@@UAE@XZ)

..\..\lib\vc_dll\wxmswuniv26d_xrc_vc_custom.dll : fatal error LNK1120: 12 

unresolved externals

Error executing link.exe.



wxmswuniv26d_xrc_vc_custom.dll - 13 error(s), 0 warning(s)






Ensuite, quand j'essai de compiler le Hello World fournit ici
http://wiki.wxwidgets.org/wiki.pl'Hello_World

J'obtiens les erreurs suivantes:

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

19 réponses

cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
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..."
3
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
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..."
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 5 avril 2007
22 juin 2005 à 13:15
Et ben j'ai passé ma journée d'hier à faire ça et ça a donné ce que tu
vois plus haut. C'est justement pour ça que j'appelle à l'aide.

Merci quand même.
0
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
22 juin 2005 à 13:34
sinon pour info, voila la page dont je me suis servit pour compiler:
http://wiki.wxwidgets.org/wiki.pl?MSVC_Setup_Guide
Bob...

"La chance accorde ses faveur aux esprits avertis..."
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
22 juin 2005 à 13:35
en fait c'est c:\dossier_wxWidgets\src\wxWidgets.dsw qu'il faut compiler !
Bob...

"La chance accorde ses faveur aux esprits avertis..."
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Derniè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

Depuis celle ci il faut bien utiliser build\msw

Mais voilà moi j'obtiens les erreurs précédentes.
0
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
22 juin 2005 à 14:51
moi j'ai compiler la version 2.6.0 en fesant ce que je t'ai dit !
Bob...

"La chance accorde ses faveur aux esprits avertis..."
0
fredcl Messages postés 547 Date d'inscription mercredi 8 janvier 2003 Statut Membre Dernière intervention 7 octobre 2007 1
22 juin 2005 à 16:00
pfff z'avez qu'a prendre Dev-Cpp (GCC), y'as des types qui ont déjà tout compilé wxWidgets pour vous NA!
;-p
0
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
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..."
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Derniè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.
0
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
22 juin 2005 à 17:00
bah deja si ta pas reussi à compiler les librairies ! tu ne les "posséde" donc pas ! donc inutile d'essayer de généré un exemple !
Bob...

"La chance accorde ses faveur aux esprits avertis..."
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Derniè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.
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Derniè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

Debug/hello2.exe : fatal error LNK1120: 21 unresolved externals

Error executing link.exe.



hello2.exe - 47 error(s), 1 warning(s)
0
cs_LordBob Messages postés 2865 Date d'inscription samedi 2 novembre 2002 Statut Membre Dernière intervention 11 mai 2009 9
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..."
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 5 avril 2007
23 juin 2005 à 00:56
j'ai essayé les deux mais même résultats. Mais dis moi, est-ce que tu arrives à compiler du code qui ne provient pas du zip?

Essai celui ci par exemple:

http://wiki.wxwidgets.org/wiki.pl'Hello_World

ou un autre que tu trouverai sur le net. Dès que ce n'est pas un des exemples.
0
fredcl Messages postés 547 Date d'inscription mercredi 8 janvier 2003 Statut Membre Dernière intervention 7 octobre 2007 1
23 juin 2005 à 09:10
Ce problème ne serais pas du par hasard à l'ordre dans lequel tu établis le lien des bibliothèques?


Vu que tu dis que si tu compiles les exemples ça marche, mais un nouveau projet ça fonctionne pas je ne vois que ça!
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 5 avril 2007
23 juin 2005 à 10:10
J'ai essayé d'inverser l'ordre des répertoire de librairie dans VC++
mais celà fait la même chose. exactement les même 47 erreurs.

Merci quand même.
0
cs_Sunsawe Messages postés 64 Date d'inscription mardi 21 juin 2005 Statut Membre Derniè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?
0
fredcl Messages postés 547 Date d'inscription mercredi 8 janvier 2003 Statut Membre Dernière intervention 7 octobre 2007 1
24 juin 2005 à 10:26
Je ne parles pas de l'ordre des répertoires mais bien de l'ordre des librairies.

Regarde l'ordre qui est utilisé pour les exemples qui compile et utilise le même.
0
Rejoignez-nous