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

Qt Discussion :

Erreur inconnue / non identifié avec Qt OpenGL sous MacOs X


Sujet :

Qt

  1. #1
    Candidat au Club
    Profil pro
    Inscrit en
    Juin 2010
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Juin 2010
    Messages : 2
    Points : 3
    Points
    3
    Par défaut Erreur inconnue / non identifié avec Qt OpenGL sous MacOs X
    Bonjour à tous,

    J'ai un problème en essayant de faire fonctionner mon application sour Mac Os X.
    Cette dernière fonctionne à merveille sous Unix, c'est là qu'elle à été développée.
    Sous Mac, j'utilise Xcode pour compiler et debuger le code.
    Je réussi à compiler l'application sans erreur, mais malheuresement c'est à l'execution que cela pause problème:
    impossible d'afficher la fenêtre principale, l'application quitte!

    en lançant gdb j'ai:
    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
    (gdb) bt
    Xcode could not locate source file: __kill.s (line: 5)
    #0 ___kill () at /var/tmp/Libsyscall/Libsyscall-1228.0.90~40/sys/__kill.s:5
    #1 0x025567c6 in kill$UNIX2003 ()
    #2 0x0260082e in raise () at unwind-pe.h:284
    #3 0x0261cfd0 in abort () at unwind-pe.h:284
    #4 0x931fa005 in __gnu_cxx::__verbose_terminate_handler ()
    #5 0x931f810c in __gxx_personality_v0 ()
    #6 0x931f814b in std::terminate ()
    #7 0x931f82b1 in __cxa_rethrow ()
    #8 0x004d058b in QCoreApplication::notifyInternal (this=0x2914cd8, receiver=0x297f540, event=0xbfffe778) at kernel/qcoreapplication.cpp:729
    #9 0x012a2c79 in QCoreApplication::sendSpontaneousEvent (receiver=0x297f540, event=0xbfffe778) at qcoreapplication.h:218
    #10 0x012afe31 in QWidgetPrivate::qt_widget_event (er=0xbfffec10, event=0x2967d20) at kernel/qwidget_mac.mm:1338
    #11 0x9347213d in DispatchEventToHandlers ()
    #12 0x9347157b in SendEventToEventTargetInternal ()
    #13 0x934713e0 in SendEventToEventTargetWithOptions ()
    #14 0x93494ded in HIView::SendDraw ()
    #15 0x934948c6 in HIView::RecursiveDrawComposited ()
    #16 0x93494a2f in HIView::RecursiveDrawComposited ()
    #17 0x93494a2f in HIView::RecursiveDrawComposited ()
    #18 0x93494a2f in HIView::RecursiveDrawComposited ()
    #19 0x93494a2f in HIView::RecursiveDrawComposited ()
    #20 0x93493ccc in HIView::DrawComposited ()
    #21 0x934939df in HIView::Draw ()
    #22 0x9349392f in HIView::Render ()
    #23 0x93493253 in WindowData::PrepareForVisibility ()
    #24 0x934929db in _ShowHideWindows ()
    #25 0x934928b8 in ShowHide ()
    #26 0x012aca87 in QWidgetPrivate::show_sys (this=0x293a960) at kernel/qwidget_mac.mm:3335
    #27 0x0139b654 in QWidgetPrivate::show_helper (this=0x293a960) at kernel/qwidget.cpp:7230
    #28 0x0139bbf7 in QWidget::setVisible (this=0x2914ce0, visible=true) at kernel/qwidget.cpp:7444
    #29 0x01864820 in QWidget::show (this=0x2914ce0) at qwidget.h:485
    #30 0x013901a5 in QWidget::showNormal (this=0x2914ce0) at kernel/qwidget.cpp:2917
    #31 0x00054dba in v4d::ViewerWindow::ViewerWindow (this=0x2914ce0) at /Users/gaetanjanssens/Documents/viewer4d-test-06-2010/ViewerWindow.cpp:89
    #32 0x000062ef in v4d::Application::Application (this=0x2914cd0, argc=1, argv=0xbffff5fc) at /Users/gaetanjanssens/Documents/viewer4d-test-06-2010/Application.cpp:25
    #33 0x000066fb in v4d::Application::Init (argc=1, argv=0xbffff5fc) at /Users/gaetanjanssens/Documents/viewer4d-test-06-2010/Application.cpp:188
    #34 0x000189ea in main (argc=1, argv=0xbffff5fc) at /Users/gaetanjanssens/Documents/viewer4d-test-06-2010/main.cpp:56
    Current language: auto; currently asm
    Une idée?
    Vous pouvez récupérer le code ici.

    si vous avez besoin du projet Xcode, faites moi signe.

    Merci infiniment par avance.

  2. #2
    Responsable 2D/3D/Jeux


    Avatar de LittleWhite
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2008
    Messages
    26 860
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels

    Informations forums :
    Inscription : Mai 2008
    Messages : 26 860
    Points : 219 062
    Points
    219 062
    Billets dans le blog
    120
    Par défaut
    Bonjour,

    Comme votre projet n'est pas le plus petit, il faudra nous guidé quelque peu.

    D'après vous, ou est ce que cela plante? ( quel fichier )
    Pouvez vous faire un debugguage en se basant sur des bête printf ( qDebug() ). Afin de voir ... ce qui s'affiche, et ce qui n'est pas executer.
    Après, êtes vous sur que cela a été compilé avec le -g pour gcc ( soit les informations de debugguage ).
    Vous souhaitez participer à la rubrique 2D/3D/Jeux ? Contactez-moi

    Ma page sur DVP
    Mon Portfolio

    Qui connaît l'erreur, connaît la solution.

Discussions similaires

  1. Erreur ressource non trouvée avec WindowBlinds
    Par jbrg dans le forum Langage
    Réponses: 2
    Dernier message: 25/10/2009, 00h09
  2. Soucis non identifié avec Internet Explorer
    Par unicyclon dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 23/01/2009, 17h47
  3. Réponses: 7
    Dernier message: 03/05/2007, 16h30
  4. OpenGL sous MacOS
    Par PRomu@ld dans le forum OpenGL
    Réponses: 5
    Dernier message: 21/12/2005, 11h17
  5. Réponses: 5
    Dernier message: 21/11/2004, 18h59

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