IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

wxPython Discussion :

Compilation probleme de wxPython


Sujet :

wxPython

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 52
    Points
    52
    Par défaut Compilation probleme de wxPython
    Bonjour a tous,

    J'essaye de compiler la versiobn de wxPython "wxPython-src-3.0.0.0" ous Win7 (x86, 32 bits) avec Visual Studio 2010.
    J'ai suivi la notice a la lettre comme suit:
    - Installation de Python27
    - cd wxPython-src-3.0.0.0\wxPython
    - python build-wxpython.py --build_dir=../bld --installdir=c:\wxPython-src-3.0.0.0\install --install

    tout a l'air de bien compiler sauf que au link j'ai l'erreur suivante:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
     
    running build_ext
    building '_media' extension
    C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /UNDEBUG -DWIN32 -D_WINDOWS -D__WXMSW__ -DWXUSINGDLL=1 -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -DISOLATION_AWARE_ENABLED -UNDEBUG -DwxUSE_UNICODE=1 -Iinclude -Isrc -I..\lib\vcUNKNOWN_dll\mswu -I..\include -I..\contrib\include -IC:\Python27\include -IC:\Python27\PC /Tpsrc\msw\media_wrap.cpp /Fobuild\temp.win32-2.7\Release\src\msw\media_wrap.obj /Gy /EHsc
    media_wrap.cpp
    C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:..\lib\vcUNKNOWN_dll /LIBPATH:C:\Python27\libs /LIBPATH:C:\Python27\PCbuild wxbase30u.lib wxbase30u_net.lib wxbase30u_xml.lib wxmsw30u_core.lib wxmsw30u_adv.lib wxmsw30u_html.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib oldnames.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /EXPORT:init_media build\temp.win32-2.7\Release\src\msw\media_wrap.obj /OUT:build\lib.win32-2.7\wx\_media.pyd /IMPLIB:build\temp.win32-2.7\Release\src\msw\_media.lib /MANIFESTFILE:build\temp.win32-2.7\Release\src\msw\_media.pyd.manifest
       Creating library build\temp.win32-2.7\Release\src\msw\_media.lib and object build\temp.win32-2.7\Release\src\msw\_media.exp
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxMediaEvent::wxMediaEvent(int,int)" (__imp_??0wxMediaEvent@@QAE@HH@Z) referenced in function __wrap_new_MediaEvent
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxMediaEvent::~wxMediaEvent(void)" (__imp_??1wxMediaEvent@@UAE@XZ) referenced in function "public: virtual void * __thiscall wxMediaEvent::`scalar deleting destructor'(unsigned int)" (??_GwxMediaEvent@@UAEPAXI@Z)
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxMediaCtrl::wxMediaCtrl(void)" (__imp_??0wxMediaCtrl@@QAE@XZ) referenced in function __wrap_new_PreMediaCtrl
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxMediaCtrl::wxMediaCtrl(class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long,class wxString const &,class wxValidator const &,class wxString const &)" (__imp_??0wxMediaCtrl@@QAE@PAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@J1ABVwxValidator@@1@Z) referenced in function __wrap_new_MediaCtrl
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxMediaCtrl::~wxMediaCtrl(void)" (__imp_??1wxMediaCtrl@@UAE@XZ) referenced in function "public: virtual void * __thiscall wxMediaCtrl::`scalar deleting destructor'(unsigned int)" (??_GwxMediaCtrl@@UAEPAXI@Z)
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Create(class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long,class wxString const &,class wxValidator const &,class wxString const &)" (__imp_?Create@wxMediaCtrl@@QAE_NPAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@J1ABVwxValidator@@1@Z) referenced in function __wrap_MediaCtrl_Create
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Play(void)" (__imp_?Play@wxMediaCtrl@@QAE_NXZ) referenced in function __wrap_MediaCtrl_Play
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Pause(void)" (__imp_?Pause@wxMediaCtrl@@QAE_NXZ) referenced in function __wrap_MediaCtrl_Pause
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Stop(void)" (__imp_?Stop@wxMediaCtrl@@QAE_NXZ) referenced in function __wrap_MediaCtrl_Stop
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Load(class wxString const &)" (__imp_?Load@wxMediaCtrl@@QAE_NABVwxString@@@Z) referenced in function __wrap_MediaCtrl_Load
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum wxMediaState __thiscall wxMediaCtrl::GetState(void)" (__imp_?GetState@wxMediaCtrl@@QAE?AW4wxMediaState@@XZ) referenced in function __wrap_MediaCtrl_GetState
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::Seek(__int64,enum wxSeekMode)" (__imp_?Seek@wxMediaCtrl@@QAE_J_JW4wxSeekMode@@@Z) referenced in function __wrap_MediaCtrl_Seek
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::Tell(void)" (__imp_?Tell@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_Tell
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::Length(void)" (__imp_?Length@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_Length
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: double __thiscall wxMediaCtrl::GetPlaybackRate(void)" (__imp_?GetPlaybackRate@wxMediaCtrl@@QAENXZ) referenced in function __wrap_MediaCtrl_GetPlaybackRate
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::SetPlaybackRate(double)" (__imp_?SetPlaybackRate@wxMediaCtrl@@QAE_NN@Z) referenced in function __wrap_MediaCtrl_SetPlaybackRate
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::GetDownloadProgress(void)" (__imp_?GetDownloadProgress@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_GetDownloadProgress
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::GetDownloadTotal(void)" (__imp_?GetDownloadTotal@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_GetDownloadTotal
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: double __thiscall wxMediaCtrl::GetVolume(void)" (__imp_?GetVolume@wxMediaCtrl@@QAENXZ) referenced in function __wrap_MediaCtrl_GetVolume
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::SetVolume(double)" (__imp_?SetVolume@wxMediaCtrl@@QAE_NN@Z) referenced in function __wrap_MediaCtrl_SetVolume
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::ShowPlayerControls(enum wxMediaCtrlPlayerControls)" (__imp_?ShowPlayerControls@wxMediaCtrl@@QAE_NW4wxMediaCtrlPlayerControls@@@Z) referenced in function __wrap_MediaCtrl_ShowPlayerControls
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::LoadURI(class wxString const &)" (__imp_?LoadURI@wxMediaCtrl@@QAE_NABVwxString@@@Z) referenced in function __wrap_MediaCtrl_LoadURI
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::LoadURIWithProxy(class wxString const &,class wxString const &)" (__imp_?LoadURIWithProxy@wxMediaCtrl@@QAE_NABVwxString@@0@Z) referenced in function __wrap_MediaCtrl_LoadURIWithProxy
    media_wrap.obj : error LNK2001: unresolved external symbol "public: virtual class wxEvent * __thiscall wxMediaEvent::Clone(void)const " (?Clone@wxMediaEvent@@UBEPAVwxEvent@@XZ)
    media_wrap.obj : error LNK2001: unresolved external symbol "protected: virtual class wxSize __thiscall wxMediaCtrl::DoGetBestSize(void)const " (?DoGetBestSize@wxMediaCtrl@@MBE?AVwxSize@@XZ)
    media_wrap.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxMediaCtrl::DoMoveWindow(int,int,int,int)" (?DoMoveWindow@wxMediaCtrl@@MAEXHHHH@Z)
    media_wrap.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxMediaCtrl::GetClassInfo(void)const " (?GetClassInfo@wxMediaCtrl@@UBEPAVwxClassInfo@@XZ)
    media_wrap.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxMediaEvent::GetClassInfo(void)const " (?GetClassInfo@wxMediaEvent@@UBEPAVwxClassInfo@@XZ)
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_FINISHED" (__imp_?wxEVT_MEDIA_FINISHED@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_STOP" (__imp_?wxEVT_MEDIA_STOP@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_LOADED" (__imp_?wxEVT_MEDIA_LOADED@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_STATECHANGED" (__imp_?wxEVT_MEDIA_STATECHANGED@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_PLAY" (__imp_?wxEVT_MEDIA_PLAY@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_PAUSE" (__imp_?wxEVT_MEDIA_PAUSE@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    build\lib.win32-2.7\wx\_media.pyd : fatal error LNK1120: 34 unresolved externals
    error: command '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\link.exe"' failed with exit status 1120
    ERROR: failed building wxPython.
     
    C:\wxPython-src-3.0.0.0\wxPython>"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\link.exe" /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\wxPython-src-3.0.0.0\src\expat\lib /LIBPATH:..\lib\vcUNKNOWN_dll /LIBPATH:C:\Python27\libs /LIBPATH:C:\Python27\PCbuild wxbase30u.lib wxbase30u_net.lib wxbase30u_xml.lib wxmsw30u_core.lib wxmsw30u_adv.lib wxmsw30u_html.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib oldnames.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /EXPORT:init_media build\temp.win32-2.7\Release\src\msw\media_wrap.obj /OUT:C:\wxPython-src-3.0.0.0\wxPython\wx\_media.pyd /IMPLIB:build\temp.win32-2.7\Release\src\msw\_media.lib /MANIFESTFILE:build\temp.win32-2.7\Release\src\msw\_media.pyd.manifest
       Creating library build\temp.win32-2.7\Release\src\msw\_media.lib and object build\temp.win32-2.7\Release\src\msw\_media.exp
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxMediaEvent::wxMediaEvent(int,int)" (__imp_??0wxMediaEvent@@QAE@HH@Z) referenced in function __wrap_new_MediaEvent
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxMediaEvent::~wxMediaEvent(void)" (__imp_??1wxMediaEvent@@UAE@XZ) referenced in function "public: virtual void * __thiscall wxMediaEvent::`scalar deleting destructor'(unsigned int)" (??_GwxMediaEvent@@UAEPAXI@Z)
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxMediaCtrl::wxMediaCtrl(void)" (__imp_??0wxMediaCtrl@@QAE@XZ) referenced in function __wrap_new_PreMediaCtrl
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxMediaCtrl::wxMediaCtrl(class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long,class wxString const &,class wxValidator const &,class wxString const &)" (__imp_??0wxMediaCtrl@@QAE@PAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@J1ABVwxValidator@@1@Z) referenced in function __wrap_new_MediaCtrl
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxMediaCtrl::~wxMediaCtrl(void)" (__imp_??1wxMediaCtrl@@UAE@XZ) referenced in function "public: virtual void * __thiscall wxMediaCtrl::`scalar deleting destructor'(unsigned int)" (??_GwxMediaCtrl@@UAEPAXI@Z)
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Create(class wxWindow *,int,class wxString const &,class wxPoint const &,class wxSize const &,long,class wxString const &,class wxValidator const &,class wxString const &)" (__imp_?Create@wxMediaCtrl@@QAE_NPAVwxWindow@@HABVwxString@@ABVwxPoint@@ABVwxSize@@J1ABVwxValidator@@1@Z) referenced in function __wrap_MediaCtrl_Create
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Play(void)" (__imp_?Play@wxMediaCtrl@@QAE_NXZ) referenced in function __wrap_MediaCtrl_Play
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Pause(void)" (__imp_?Pause@wxMediaCtrl@@QAE_NXZ) referenced in function __wrap_MediaCtrl_Pause
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Stop(void)" (__imp_?Stop@wxMediaCtrl@@QAE_NXZ) referenced in function __wrap_MediaCtrl_Stop
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::Load(class wxString const &)" (__imp_?Load@wxMediaCtrl@@QAE_NABVwxString@@@Z) referenced in function __wrap_MediaCtrl_Load
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum wxMediaState __thiscall wxMediaCtrl::GetState(void)" (__imp_?GetState@wxMediaCtrl@@QAE?AW4wxMediaState@@XZ) referenced in function __wrap_MediaCtrl_GetState
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::Seek(__int64,enum wxSeekMode)" (__imp_?Seek@wxMediaCtrl@@QAE_J_JW4wxSeekMode@@@Z) referenced in function __wrap_MediaCtrl_Seek
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::Tell(void)" (__imp_?Tell@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_Tell
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::Length(void)" (__imp_?Length@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_Length
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: double __thiscall wxMediaCtrl::GetPlaybackRate(void)" (__imp_?GetPlaybackRate@wxMediaCtrl@@QAENXZ) referenced in function __wrap_MediaCtrl_GetPlaybackRate
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::SetPlaybackRate(double)" (__imp_?SetPlaybackRate@wxMediaCtrl@@QAE_NN@Z) referenced in function __wrap_MediaCtrl_SetPlaybackRate
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::GetDownloadProgress(void)" (__imp_?GetDownloadProgress@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_GetDownloadProgress
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __int64 __thiscall wxMediaCtrl::GetDownloadTotal(void)" (__imp_?GetDownloadTotal@wxMediaCtrl@@QAE_JXZ) referenced in function __wrap_MediaCtrl_GetDownloadTotal
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: double __thiscall wxMediaCtrl::GetVolume(void)" (__imp_?GetVolume@wxMediaCtrl@@QAENXZ) referenced in function __wrap_MediaCtrl_GetVolume
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::SetVolume(double)" (__imp_?SetVolume@wxMediaCtrl@@QAE_NN@Z) referenced in function __wrap_MediaCtrl_SetVolume
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::ShowPlayerControls(enum wxMediaCtrlPlayerControls)" (__imp_?ShowPlayerControls@wxMediaCtrl@@QAE_NW4wxMediaCtrlPlayerControls@@@Z) referenced in function __wrap_MediaCtrl_ShowPlayerControls
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::LoadURI(class wxString const &)" (__imp_?LoadURI@wxMediaCtrl@@QAE_NABVwxString@@@Z) referenced in function __wrap_MediaCtrl_LoadURI
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMediaCtrl::LoadURIWithProxy(class wxString const &,class wxString const &)" (__imp_?LoadURIWithProxy@wxMediaCtrl@@QAE_NABVwxString@@0@Z) referenced in function __wrap_MediaCtrl_LoadURIWithProxy
    media_wrap.obj : error LNK2001: unresolved external symbol "public: virtual class wxEvent * __thiscall wxMediaEvent::Clone(void)const " (?Clone@wxMediaEvent@@UBEPAVwxEvent@@XZ)
    media_wrap.obj : error LNK2001: unresolved external symbol "protected: virtual class wxSize __thiscall wxMediaCtrl::DoGetBestSize(void)const " (?DoGetBestSize@wxMediaCtrl@@MBE?AVwxSize@@XZ)
    media_wrap.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall wxMediaCtrl::DoMoveWindow(int,int,int,int)" (?DoMoveWindow@wxMediaCtrl@@MAEXHHHH@Z)
    media_wrap.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxMediaCtrl::GetClassInfo(void)const " (?GetClassInfo@wxMediaCtrl@@UBEPAVwxClassInfo@@XZ)
    media_wrap.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxMediaEvent::GetClassInfo(void)const " (?GetClassInfo@wxMediaEvent@@UBEPAVwxClassInfo@@XZ)
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_FINISHED" (__imp_?wxEVT_MEDIA_FINISHED@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_STOP" (__imp_?wxEVT_MEDIA_STOP@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_LOADED" (__imp_?wxEVT_MEDIA_LOADED@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_STATECHANGED" (__imp_?wxEVT_MEDIA_STATECHANGED@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_PLAY" (__imp_?wxEVT_MEDIA_PLAY@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    media_wrap.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class wxEventTypeTag<class wxMediaEvent> const wxEVT_MEDIA_PAUSE" (__imp_?wxEVT_MEDIA_PAUSE@@3V?$wxEventTypeTag@VwxMediaEvent@@@@B) referenced in function _init_media
    C:\wxPython-src-3.0.0.0\wxPython\wx\_media.pyd : fatal error LNK1120: 34 unresolved externals
    ou est mon erreure ? est-ce qu'il me manque un lien vers une Lib ?
    Est-ce que quelqu'un peut m'aider

    Merci d'avance

  2. #2
    Expert éminent sénior
    Homme Profil pro
    Architecte technique retraité
    Inscrit en
    Juin 2008
    Messages
    21 287
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Manche (Basse Normandie)

    Informations professionnelles :
    Activité : Architecte technique retraité
    Secteur : Industrie

    Informations forums :
    Inscription : Juin 2008
    Messages : 21 287
    Points : 36 776
    Points
    36 776
    Par défaut
    Salut,

    S'il ne trouve pas des symboles comme wxMediaEvent::wxMediaEvent, les questions sont:
    1. ou va-t-il les chercher?
      comment dire d'aller chercher les librairies WxWidgets ou elles ont été placées?
    2. peut-il les trouver?
      Si vous n'avez pas installe WxWidgets quelque part, ca ne va pas le faire.
    3. est ce que le name-mangling de VS2010 est coherent avec celui des .dll WX?


    Comme compiler c'est plutôt galère, pourquoi ne pas installer des binaires déjà compiles pour Windows?

    - W
    Architectures post-modernes.
    Python sur DVP c'est aussi des FAQs, des cours et tutoriels

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 52
    Points
    52
    Par défaut
    Salut,

    Merci pour la reponse, mais si je compile wxPython c'est parce que les binaires de wxPython pour Win ARM n'existent pas, ou bien je ne les ai pas trouves.
    Bien sur, ce n'est pas facile de compiler du source code que je ne connais pas, mais je n'ai pas le choix.
    J'ai reussi a compiler le Python2.7 pour Winrt (windows ARM) et j'aurai besoin d'avoir le wxPython pour pouvoir developper les GUI associes pour ARM.
    Si j'ai bien suivi les symboles manquants sont lies aux libraries de wxWidgets.
    Les instruction de compilation de WxPython ne sont pas tres clair lorsqu'on veut faire du cross-compile.
    Question: L'installation de wxWidgets se fait en installant le directory dans WxPython ?

  4. #4
    Expert éminent sénior
    Homme Profil pro
    Architecte technique retraité
    Inscrit en
    Juin 2008
    Messages
    21 287
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Manche (Basse Normandie)

    Informations professionnelles :
    Activité : Architecte technique retraité
    Secteur : Industrie

    Informations forums :
    Inscription : Juin 2008
    Messages : 21 287
    Points : 36 776
    Points
    36 776
    Par défaut
    Citation Envoyé par gilles06 Voir le message
    Si j'ai bien suivi les symboles manquants sont lies aux libraries de wxWidgets.
    La librairie devrait s'appeler wxmsw30ud_media.lib.
    Elle n'est pas dans la liste montrée dans le post précédent.
    Après il faut "debugger"...
    - W
    Architectures post-modernes.
    Python sur DVP c'est aussi des FAQs, des cours et tutoriels

  5. #5
    Membre du Club
    Profil pro
    Inscrit en
    Novembre 2007
    Messages
    92
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2007
    Messages : 92
    Points : 52
    Points
    52
    Par défaut
    Salut,

    Merci pour l'aide, j'ai reusi a compiler et a linker. J'ai du modifier pas mal de fichiers pour faire du cross-compile de Python27 et bien sur pointer sur la bonne lib.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Compilation] Probleme au moment de la compilation
    Par skurlat dans le forum Général Java
    Réponses: 2
    Dernier message: 08/04/2005, 21h10
  2. [Compilation]probleme de compilation
    Par Battosaiii dans le forum Général Java
    Réponses: 15
    Dernier message: 21/03/2005, 13h59
  3. [Borland CPP Compiler] Probleme avec !! Path !!
    Par kanzarih dans le forum Autres éditeurs
    Réponses: 1
    Dernier message: 20/10/2004, 23h07
  4. [Eclipse 3][compilation] probleme
    Par seb_fou dans le forum Eclipse Java
    Réponses: 8
    Dernier message: 24/08/2004, 16h38
  5. Réponses: 1
    Dernier message: 11/06/2004, 11h58

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo