[MATLAB Coder] Problème génération DLL
Bonjour à tous !
Pour vous expliquer le contexte, je cherche à transformer des algorithmes Matlab (.m) en code C/C++ afin de pouvoir les implémenter dans dans Visual Studio 2013 pour une application Windows phone.
Pour cela j'utilise donc Matlab CODER qui est censé pouvoir me générer un fichier .dll à partir de mes algorithmes cependant je n'arrive pas à compiler.
Depuis l'onglet Build de matlab Coder je choisis "C/C++ Dynamic Librairy" en tant que Output Type, "generate Code Only" est décoché, est lorsque j'appuie sur "Build" une erreur survient que m'indique de consulter les logs de compilation et j'y trouve ceci:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
1 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcc64 -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/include64 -DMODEL=MyFunc -DHAVESTDIO -DUSE_RTMODEL -IJ:/Step1_chaine_complete/MatlabCoder -IJ:/Step1_chaine_complete/MatlabCoder/codegen/dll/MyFunc -IJ:/Step1_chaine_complete/Matlab -IC:/PROGRA~1/MATLAB/R2014a/extern/include -IC:/PROGRA~1/MATLAB/R2014a/simulink/include -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/ert -Fo"MyFunc_initialize.obj" "MyFunc_initialize.c"
2 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcc64 -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/include64 -DMODEL=MyFunc -DHAVESTDIO -DUSE_RTMODEL -IJ:/Step1_chaine_complete/MatlabCoder -IJ:/Step1_chaine_complete/MatlabCoder/codegen/dll/MyFunc -IJ:/Step1_chaine_complete/Matlab -IC:/PROGRA~1/MATLAB/R2014a/extern/include -IC:/PROGRA~1/MATLAB/R2014a/simulink/include -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/ert -Fo"MyFunc_terminate.obj" "MyFunc_terminate.c"
3 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcc64 -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/include64 -DMODEL=MyFunc -DHAVESTDIO -DUSE_RTMODEL -IJ:/Step1_chaine_complete/MatlabCoder -IJ:/Step1_chaine_complete/MatlabCoder/codegen/dll/MyFunc -IJ:/Step1_chaine_complete/Matlab -IC:/PROGRA~1/MATLAB/R2014a/extern/include -IC:/PROGRA~1/MATLAB/R2014a/simulink/include -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/ert -Fo"MyFunc.obj" "MyFunc.c"
4 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcc64 -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/include64 -DMODEL=MyFunc -DHAVESTDIO -DUSE_RTMODEL -IJ:/Step1_chaine_complete/MatlabCoder -IJ:/Step1_chaine_complete/MatlabCoder/codegen/dll/MyFunc -IJ:/Step1_chaine_complete/Matlab -IC:/PROGRA~1/MATLAB/R2014a/extern/include -IC:/PROGRA~1/MATLAB/R2014a/simulink/include -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/ert -Fo"rt_nonfinite.obj" "rt_nonfinite.c"
5 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcc64 -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/include64 -DMODEL=MyFunc -DHAVESTDIO -DUSE_RTMODEL -IJ:/Step1_chaine_complete/MatlabCoder -IJ:/Step1_chaine_complete/MatlabCoder/codegen/dll/MyFunc -IJ:/Step1_chaine_complete/Matlab -IC:/PROGRA~1/MATLAB/R2014a/extern/include -IC:/PROGRA~1/MATLAB/R2014a/simulink/include -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/ert -Fo"rtGetNaN.obj" "rtGetNaN.c"
6 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcc64 -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/include64 -DMODEL=MyFunc -DHAVESTDIO -DUSE_RTMODEL -IJ:/Step1_chaine_complete/MatlabCoder -IJ:/Step1_chaine_complete/MatlabCoder/codegen/dll/MyFunc -IJ:/Step1_chaine_complete/Matlab -IC:/PROGRA~1/MATLAB/R2014a/extern/include -IC:/PROGRA~1/MATLAB/R2014a/simulink/include -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014a/rtw/c/ert -Fo"rtGetInf.obj" "rtGetInf.c"
7 C:/PROGRA~1/MATLAB/R2014a/sys/perl/win32/bin/perl.exe C:/PROGRA~1/MATLAB/R2014a/rtw/c/tools/mkvc_lnk.pl MyFunc.lnk MyFunc_initialize.obj MyFunc_terminate.obj MyFunc.obj rt_nonfinite.obj rtGetNaN.obj rtGetInf.obj lccstub.obj
8 "### Creating dynamic library "./MyFunc.dll" ..."
9 C:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/bin/lcclnk64 -dll -entry LibMain -s -LC:/PROGRA~1/MATLAB/R2014a/sys/lcc64/lcc64/lib64 MyFunc.def -o ./MyFunc.dll @MyFunc.lnk
10 cannot open lccstub.obj
11 gmake: *** [MyFunc.dll] Error 1
12 The make command returned an error of 2
13 'An_error_occurred_during_the_call_to_make' n'est pas reconnu en tant que commande interne
14 ou externe, un programme excutable ou un fichier de commandes.
15
16 Error(s) encountered while building model "MyFunc":
17 ### Failed to generate all binary outputs. |
J'ai fais des recherches mais je n'ai rien trouvé d'utile pour résoudre mon problème. C'est pourquoi je vous implore à l'aide :calim2:.