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

Interfaces Graphiques Perl Discussion :

Compilation or not ?


Sujet :

Interfaces Graphiques Perl

  1. #1
    Membre habitué Avatar de PadawanInPerl
    Profil pro
    Inscrit en
    Juillet 2009
    Messages
    462
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2009
    Messages : 462
    Points : 186
    Points
    186
    Par défaut Compilation or not ?
    HEllo,

    J'ai pu rendre exécutable mon précédent code (pp -0 titre.exe titre.pl)
    Tout à fonctionner correctement.

    Depuis j'ai rajouté des images, quelques paramètres. Il s'execute correctement à la ligne de commande mais pas une fois compilé...

    une idée ? (peut-être est-ce le problème de mon poste précédent ?)


  2. #2
    Responsable Perl et Outils

    Avatar de djibril
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    19 820
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 19 820
    Points : 498 771
    Points
    498 771
    Par défaut
    Qu'as tu comme message d'erreur ? Pour les voir lance l'exe sous une console DOS et montre nous le message d'erreur.

  3. #3
    Membre habitué Avatar de PadawanInPerl
    Profil pro
    Inscrit en
    Juillet 2009
    Messages
    462
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2009
    Messages : 462
    Points : 186
    Points
    186
    Par défaut
    can't locate loadable object for module TK::JPEG in @inc ....

    j'espère que ça te suffit car la suite est longue

  4. #4
    Responsable Perl et Outils

    Avatar de djibril
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    19 820
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 19 820
    Points : 498 771
    Points
    498 771
    Par défaut
    colle tout.

  5. #5
    Membre habitué Avatar de PadawanInPerl
    Profil pro
    Inscrit en
    Juillet 2009
    Messages
    462
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2009
    Messages : 462
    Points : 186
    Points
    186
    Par défaut
    Can't locate loadable object for module Tk::JPEG in @INC (@INC contains: CODE(0x
    12077cc) C:\DOCUME~1\xxx\LOCALS~1\Temp\par-MEURY\cache-df742534c6866af8e6d36ca
    871c85a67213e460a\inc\lib C:\DOCUME~1\xxx\LOCALS~1\Temp\par-xxx\cache-df7425
    34c6866af8e6d36ca871c85a67213e460a\inc CODE(0x1061c5c) CODE(0x1068ebc)) at C:/Pe
    rl/site/lib/PAR/Heavy.pm line 103
    Compilation failed in require at script/run-2.pl line 9.
    BEGIN failed--compilation aborted at script/run-2.pl line 9.

  6. #6
    Responsable Perl et Outils

    Avatar de djibril
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    19 820
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 19 820
    Points : 498 771
    Points
    498 771
    Par défaut
    compile ton code de la sorte :
    pp -0 titre.exe titre.pl -M Tk::JPEG
    et reessaye

  7. #7
    Membre habitué Avatar de PadawanInPerl
    Profil pro
    Inscrit en
    Juillet 2009
    Messages
    462
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2009
    Messages : 462
    Points : 186
    Points
    186
    Par défaut
    Can't locate loadable object for module Tk:NG in @INC (@INC contains: CODE(0x1
    2077cc) C:\DOCUME~1\xxx\LOCALS~1\Temp\par-xxx\cache-4d57247f5f137d71ad5a37f2
    d2f220f04f7eeb80\inc\lib C:\DOCUME~1\xxx\LOCALS~1\Temp\par-xxx\cache-4d57247
    f5f137d71ad5a37f2d2f220f04f7eeb80\inc CODE(0x1061c5c) CODE(0x1068ebc)) at C:/Per
    l/site/lib/PAR/Heavy.pm line 103
    Compilation failed in require at script/run-2.pl line 10.
    BEGIN failed--compilation aborted at script/run-2.pl line 10.

  8. #8
    Responsable Perl et Outils

    Avatar de djibril
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    19 820
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 19 820
    Points : 498 771
    Points
    498 771
    Par défaut
    pp -0 titre.exe titre.pl -M Tk::JPEG -M Tk::PNG

  9. #9
    Membre habitué Avatar de PadawanInPerl
    Profil pro
    Inscrit en
    Juillet 2009
    Messages
    462
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2009
    Messages : 462
    Points : 186
    Points
    186
    Par défaut
    ça a marché

    MERCI

  10. #10
    Membre habitué Avatar de PadawanInPerl
    Profil pro
    Inscrit en
    Juillet 2009
    Messages
    462
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2009
    Messages : 462
    Points : 186
    Points
    186
    Par défaut
    tu peux juste me commenter le -M ?

  11. #11
    Responsable Perl et Outils

    Avatar de djibril
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    19 820
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 19 820
    Points : 498 771
    Points
    498 771

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

Discussions similaires

  1. Erreur de Compilation : file not recognized File truncated
    Par doommick31 dans le forum Autres éditeurs
    Réponses: 1
    Dernier message: 29/09/2009, 14h00
  2. Réponses: 1
    Dernier message: 06/01/2009, 15h15
  3. Pb compilation : "is not a valid executable file"
    Par stof dans le forum Visual C++
    Réponses: 30
    Dernier message: 15/01/2008, 17h53
  4. Problème compilation 'has not been declared'
    Par Choupinou dans le forum C++
    Réponses: 5
    Dernier message: 28/11/2006, 20h09
  5. [Dev-Pascal] Erreur "Unit Graph could not be compiled"
    Par marc26 dans le forum Autres IDE
    Réponses: 3
    Dernier message: 03/02/2005, 07h28

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