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 Discussion :

faire un exe avec mon GUI [Compiler]


Sujet :

Interfaces Graphiques

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    22
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 22
    Par défaut faire un exe avec mon GUI
    Salut a tous,

    moi aussi je veux faire un exe avec mon GUI. J'ai lu l'aide MATLAB, mais j'arrive pas a faire ce que je veux

    Je travail sur un ordinateur de ma fac, et je n'ai pas le droit d'enregistrer ce que je veux sur le disk dur , donc je pense que le message d'erreur que j'obtiens est due a cela.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    >> mcc -m jol
    MATLAB:I18n:InconsistentLocale - The system locale setting, Finnish_Finland.1252, is different from the user locale setting, French (France)_France.1252. 
    You do not have write permission in the output directory: 
      'H:\'. 
    ??? Error using ==> mcc
    Error executing mcc, return status = 1 (0x1).
     
    >>
    C'est pourquoi je voudrais créer le exe sur ma clée USB (G: )
    C'est la ou est mon probléme, j'ai essayé avec -p mais j'obtiens le même message d'erreur:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    >> mcc -m jol -p G:\
    MATLAB:I18n:InconsistentLocale - The system locale setting, Finnish_Finland.1252, is different from the user locale setting, French (France)_France.1252. 
    You do not have write permission in the output directory: 
      'H:\'. 
    ??? Error using ==> mcc
    Error executing mcc, return status = 1 (0x1).
     
    >>
    Quelqun peut il me dire comment écrire cette ligne svp ?

  2. #2
    Expert confirmé
    Avatar de duf42
    Homme Profil pro
    Formateur en informatique
    Inscrit en
    Novembre 2007
    Messages
    3 111
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 41
    Localisation : France

    Informations professionnelles :
    Activité : Formateur en informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Novembre 2007
    Messages : 3 111
    Par défaut
    Bonjour,

    Il me semble que c'est -d l'option pour spécifier le répertoire de sortie.

    Bonne apm,
    Duf

  3. #3
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    22
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 22
    Par défaut
    A oui en effet ca marche bien mieux avec la bonne lettre

    mais ca ma refait 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
    >> mcc -m jol -d G:\
    MATLAB:I18n:InconsistentLocale - The system locale setting, Finnish_Finland.1252, is different from the user locale setting, French (France)_France.1252. 
        Usage: 
          MBUILD [option1 ... optionN] sourcefile1 [... sourcefileN] 
                 [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN] 
                 [exportfile1 ... exportfileN] 
     
        Use the -help option for more information, or consult the MATLAB Compiler 
        User's Guide. 
     
     
      C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: No file names given. 
     
    Error: An error occurred while shelling out to mbuild (error code = 255). 
    Unable to build executable (specify the -v option for more information). 
    ??? Error using ==> mcc
    Error executing mcc, return status = 1 (0x1).
    comme indiqué j'ai utilisé l'option -v et voila l'erreur que j'ai obtenu:


    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
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
     mcc -m jol -d G:\ -v
    MATLAB:I18n:InconsistentLocale - The system locale setting, Finnish_Finland.1252, is different from the user locale setting, French (France)_France.1252. 
    Compiler version: 4.10 (R2009a)  
    Processing C:\Program Files\MATLAB\R2009a\toolbox\images\mcc.enc 
    Processing H:\jol.fig 
    Processing C:\Program Files\MATLAB\R2009a\toolbox\shared\imageslib\mcc.enc 
    Processing C:\Program Files\MATLAB\R2009a\toolbox\matlab\guide\guideopts.fig 
    Processing C:\Program Files\MATLAB\R2009a\toolbox\matlab\winfun\actxcontrolselect.fig 
    Processing C:\Program Files\MATLAB\R2009a\toolbox\matlab\winfun\actxcontrolcreateproperty.fig 
    Processing include files... 
    2 item(s) added. 
    Processing directories installed with MCR... 
    The file G:\mccExcludedFiles.log contains a list of functions excluded from the CTF archive. 
    2 item(s) added. 
    Generating MATLAB path for the compiled application... 
    Created 46 path items. 
    Begin validation of MEX files: Thu Apr 30 15:40:55 2009  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\bin\win32\libippmw.dll'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\applylutc.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\bwpackc.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\bwunpackc.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\imfilter_mex.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\imhistc.mexw32'.  
    Found M-file 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\imhistc.m'.  
    MEX file  
        'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\imhistc.mexw32'  
     is valid. It contains 'mexFunction.'  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\imlincombc.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\immultmex.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\imreconstructmex.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\int16touint16.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\intlutc.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\morphmex.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\images\private\parityscan.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptformats\private\bitparse.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptformats\private\dicom_decode_rle_segment.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptformats\private\dicomlookup_helper.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptformats\private\dicomparse.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptformats\private\tobits.mexw32'.  
    No conflicting M-file found.  
    Validating 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptutils\iptcheckinput.mexw32'.  
    Found M-file 'C:\Program Files\MATLAB\R2009a\toolbox\images\iptutils\iptcheckinput.m'.  
    MEX file  
        'C:\Program Files\MATLAB\R2009a\toolbox\images\iptutils\iptcheckinput.mexw32'  
     is valid. It contains 'mexFunction.'  
    End validation of MEX files: Thu Apr 30 15:40:55 2009  
    Parsing file "H:\jol.m" 
    	(Referenced from: "Compiler Command Line").  
    Parsing file "C:\Program Files\MATLAB\R2009a\toolbox\compiler\deploy\deployprint.m" 
    	(Referenced from: "Compiler Command Line").  
    Parsing file "C:\Program Files\MATLAB\R2009a\toolbox\compiler\deploy\printdlg.m" 
    	(Referenced from: "Compiler Command Line").  
    Deleting 19 temporary MEX authorization files.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_29848_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_1002_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_26497_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_19717_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_23754_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_22778_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_23710_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_14599_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_15865_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_12300_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_10441_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_7328_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_1570_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_7417_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_14090_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_778_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_28323_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_8824_3128.auth'.  
    Removing: 'C:\DOCUME~1\TEMPOR~1\LOCALS~1\Temp\mathworks_tmp_3128_13000_3128.auth'.  
    Generating file "G:\jol_main.c".  
    Generating file "G:\jol_delay_load.c".  
    Generating file "G:\readme.txt".  
    Generating file "G:\jol_mcc_component_data.c".  
    Executing command: mbuild  -O -v -output "jol" -I"G:\" "G:\jol_main.c" "G:\jol_delay_load.c" "G:\jol_mcc_component_data.c" -link exe  -env MCR_DELAYLOAD=/delayload:mclmcrrt710.dll -env MCR_DELAYLIB=delayimp.lib -outdir "G:\"  
     This is mbuild Copyright 1984-2006 The MathWorks, Inc. 
     
    -> Default options filename found in C:\Documents and Settings\temporary_user\Application Data\MathWorks\MATLAB\R2009a 
    ---------------------------------------------------------------- 
    ->    Options file           = C:\Documents and Settings\temporary_user\Application Data\MathWorks\MATLAB\R2009a\compopts.bat 
    ->    COMPILER               = lcc 
    ->    Compiler flags: 
             COMPFLAGS           = -c -Zp8 -I"C:\PROGRA~1\MATLAB\R2009a\sys\lcc\include" -noregistrylookup 
             OPTIMFLAGS          = -DNDEBUG 
             DEBUGFLAGS          = -g4 
             arguments           =  -I"G:" G:\jol_main.c G:\jol_delay_load.c G:\jol_mcc_component_data.c -link exe  -env MCR_DELAYLOAD=/delayload:mclmcrrt710.dll -env MCR_DELAYLIB=delayimp.lib -outdir G:"" 
             Name switch         = -Fo 
    ->    Pre-linking commands   =  
    ->    LINKER                 = lcclnk 
    ->    Link directives: 
             LINKFLAGS           = -tmpdir "." -L"C:\PROGRA~1\MATLAB\R2009a\sys\lcc\lib" -libpath "C:\PROGRA~1\MATLAB\R2009a\extern\lib\win32\lcc" 
             LINKFLAGSPOST       = mclmcrrt.lib 
             Name directive      = -o "jol.exe" 
             File link directive =  
             Lib. link directive =  
             Rsp file indicator  = @ 
    ->    Resource Compiler      =  
    ->    Resource Linker        =  
    ---------------------------------------------------------------- 
     
        Usage: 
          MBUILD [option1 ... optionN] sourcefile1 [... sourcefileN] 
                 [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN] 
                 [exportfile1 ... exportfileN] 
     
        Use the -help option for more information, or consult the MATLAB Compiler 
        User's Guide. 
     
     
      C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: No file names given. 
     
    Error: An error occurred while shelling out to mbuild (error code = 255). 
    Unable to build executable. 
    ??? Error using ==> mcc
    Error executing mcc, return status = 1 (0x1).
    je ne suis pas plus avancé hi hiiii !

    Une idée du pourquoi ca marche pas ?

  4. #4
    Rédacteur/Modérateur

    Avatar de Jerome Briot
    Homme Profil pro
    Freelance mécatronique - Conseil, conception et formation
    Inscrit en
    Novembre 2006
    Messages
    20 317
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Freelance mécatronique - Conseil, conception et formation

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20 317
    Par défaut
    Essaie ceci :


  5. #5
    Membre averti
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    22
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 22
    Par défaut
    nan ca va pas non plus

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    >> mcc -m jol -d G:
    ??? Error using ==> mcc
    The output directory,
      'G:'
    does not exist.
    J'ai essayé ca et c'est bon ca marche maintenant
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    >> mcc -m jol -d G:\toto

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

Discussions similaires

  1. [Oracle] Faire une matrice avec mon TABLEAU
    Par MRchips dans le forum PHP & Base de données
    Réponses: 4
    Dernier message: 26/01/2011, 14h58
  2. Réponses: 3
    Dernier message: 15/08/2010, 17h33
  3. probléme avec mon GUI Application
    Par lisco dans le forum Qt
    Réponses: 8
    Dernier message: 26/06/2009, 16h19
  4. faire un .exe de mon programme
    Par jomannix dans le forum Eclipse Java
    Réponses: 2
    Dernier message: 27/09/2006, 14h11
  5. Faire des disquette d'archive pour apt avec mon lecteur zip ?
    Par narmataru dans le forum Administration système
    Réponses: 4
    Dernier message: 14/01/2005, 10h06

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