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

Code::Blocks Discussion :

pb compilation wxwidget


Sujet :

Code::Blocks

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Inscrit en
    Juin 2005
    Messages
    86
    Détails du profil
    Informations forums :
    Inscription : Juin 2005
    Messages : 86
    Par défaut pb compilation wxwidget
    bonjour à tous...

    pour des raisons de bugs trop fréquents, je suis passé de devcpp à code::blocks...par contre j'ai un petit problème de compilation lorsque je crée un projet wxwidget avec les templates proposées...

    j'utilise la version 2.6.3 de la bibliothèque wxwidget, or le template est configurer pour la version 2.6.2
    donc j'ai été dans le menu Project\Build Options\Custom variables et je modifie la variable pour lui donenr le bon chemin vers la bibliothèque 2.6.3

    j'ajoute aussi dans les variables d'environnement de windows xp, à la variable PATH, le chemin d'installation de la bibliothèque...

    et pourtant voici les erreurs retournées à la compilation:


    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
     
    Switching to target: default
    Precompiling header: wx_pch.h
    In file included from c:/wxWidgets-2.6.3/include/wx/defs.h:21,
                     from c:/wxWidgets-2.6.3/include/wx/wxprec.h:13,
                     from ./wx_pch.h:9,
                     from <command line>:5:
    c:/wxWidgets-2.6.3/include/wx/platform.h:190:22: wx/setup.h: No such file or directory
    In file included from c:/wxWidgets-2.6.3/include/wx/platform.h:271,
                     from c:/wxWidgets-2.6.3/include/wx/defs.h:21,
                     from c:/wxWidgets-2.6.3/include/wx/wxprec.h:13,
                     from ./wx_pch.h:9,
                     from <command line>:5:
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:84:9: #error "wxUSE_DYNLIB_CLASS must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:92:9: #error "wxUSE_EXCEPTIONS must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:100:9: #error "wxUSE_FILESYSTEM must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:113:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:121:9: #error "wxUSE_LOG must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:129:9: #error "wxUSE_LONGLONG must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:137:9: #error "wxUSE_MIMETYPE must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:153:9: #error "wxUSE_PROTOCOL must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:195:9: #error "wxUSE_REGEX must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:203:9: #error "wxUSE_STDPATHS must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:211:9: #error "wxUSE_XML must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:219:9: #error "wxUSE_SOCKETS must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:227:9: #error "wxUSE_STREAMS must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:235:9: #error "wxUSE_STOPWATCH must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:243:9: #error "wxUSE_TEXTBUFFER must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:251:9: #error "wxUSE_TEXTFILE must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:267:9: #error "wxUSE_URL must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:285:9: #error "wxUSE_ACCEL must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:293:9: #error "wxUSE_BMPBUTTON must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:301:9: #error "wxUSE_BUTTON must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:309:9: #error "wxUSE_CALENDARCTRL must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:317:9: #error "wxUSE_CARET must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:325:9: #error "wxUSE_CHECKBOX must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:341:9: #error "wxUSE_CHOICE must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:349:9: #error "wxUSE_CHOICEBOOK must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:357:9: #error "wxUSE_CHOICEDLG must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:365:9: #error "wxUSE_CLIPBOARD must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:373:9: #error "wxUSE_COLOURDLG must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:381:9: #error "wxUSE_COMBOBOX must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:389:9: #error "wxUSE_DATAOBJ must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:397:9: #error "wxUSE_DATEPICKCTRL must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:405:9: #error "wxUSE_DISPLAY must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:413:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:421:9: #error "wxUSE_FILEDLG must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:429:9: #error "wxUSE_FONTDLG must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:437:9: #error "wxUSE_FONTMAP must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:445:9: #error "wxUSE_GAUGE must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:453:9: #error "wxUSE_GRID must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:461:9: #error "wxUSE_HELP must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:469:9: #error "wxUSE_HTML must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:477:9: #error "wxUSE_XRC must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:498:9: #error "wxUSE_ICO_CUR must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:506:9: #error "wxUSE_IFF must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:514:9: #error "wxUSE_IMAGLIST must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:522:9: #error "wxUSE_JOYSTICK must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:530:9: #error "wxUSE_LISTBOOK must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:538:9: #error "wxUSE_LISTBOX must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:546:9: #error "wxUSE_LISTCTRL must be defined."
    c:/wxWidgets-2.6.3/include/wx/chkconf.h:554:9: #error "wxUSE_LOGGUI must be defined."
    Process terminated with status 1 (0 minutes, 6 seconds)
    52 errors, 0 warnings
    ca m'enerve bien...
    si quelqu'un à une idée...
    merci d'avance.

  2. #2
    Membre éprouvé Avatar de cfdev
    Homme Profil pro
    Passionné
    Inscrit en
    Octobre 2004
    Messages
    220
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Passionné

    Informations forums :
    Inscription : Octobre 2004
    Messages : 220
    Par défaut
    lut,

    A vérifier si dans -> Project\Build Options\Directories il y est bien
    dans debug et release :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    $(#wx)\include
    $(#wx)\lib\gcc_dll\mswu
    $(#wx)\contrib\include
    Pour moi ca fonctionne...

    ++

Discussions similaires

  1. Problème de compilation wxwidgets sous Linux
    Par Zoloom dans le forum wxWidgets
    Réponses: 0
    Dernier message: 12/05/2008, 01h50
  2. Compiler wxwidgets sous eclipse c++
    Par natoine dans le forum Eclipse C & C++
    Réponses: 18
    Dernier message: 05/02/2008, 14h01
  3. Réponses: 2
    Dernier message: 01/10/2007, 09h06
  4. Pb Compilation WXWidget
    Par QuantuX dans le forum wxWidgets
    Réponses: 3
    Dernier message: 03/05/2007, 14h19
  5. Compilation wxWidgets
    Par barbarello dans le forum Dev-C++
    Réponses: 5
    Dernier message: 31/12/2005, 10h08

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