Problem with compilation and deployment - warning_message_prefix

1 visualización (últimos 30 días)
Lorenzo Berzi
Lorenzo Berzi el 10 de Jun. de 2014
Respondida: Lorenzo Berzi el 16 de Jun. de 2014
HI all, I'm using a "compiler" and "deployment" tool for the compilation of a small package. It seems everything is ok with the compiler (SDK 7.1) and with the Matlab software (v.2014a), however if I try to deploy any simple script I get an error message. As an example, my log:
mcc -W lib:test -T link:lib -d C:\Users\Lorenzo\Documents\MATLAB\test\for_testing -v C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m class{Class1:C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m} -a C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m
Compiler version: 5.1 (R2014a)
Dependency analysis by REQUIREMENTS.
Message Key warning_message_prefix was not found in the catalog MATLAB:matrix
Error using mcc
Error executing mcc, return status = 1 (0x1).
As you can see, the error status does not give any precise indication, and the main problem seems to be "warning_message_prefix was not found in the catalog MATLAB:matrix". To be honest, I cannot find any similar string on Matlab Answers. Any ideas?! Best,
Lorenzo

Respuestas (2)

Madhura Suresh
Madhura Suresh el 16 de Jun. de 2014
Hi Lorenzo,
Does the compilation of a simple exe work? Can you paste the entire build log from deploytool or the verbose output of mcc?

Lorenzo Berzi
Lorenzo Berzi el 16 de Jun. de 2014
Hi Madhura, now I'm not able to compile any simple exe. Please consider I'm not really expert..where do you think I could find the full log? I guess that the text I pasted is already the log file. If a try to compile a very simple script:
mcc -v -W lib:test -T link:lib -d C:\Users\Lorenzo\Documents\MATLAB\test\for_testing -v C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m class{Class1:C:\Users\Lorenzo\Documents\MATLAB\saveamat.m} -a C:\Users\Lorenzo\Documents\MATLAB\saveamat.m
Compiler version: 5.1 (R2014a)
Dependency analysis by REQUIREMENTS.
Message Key warning_message_prefix was not found in the catalog MATLAB:matrix
I guess the problem is in the -W lib:test phase
Thanks for any response! I contacted mathworks assistance but still did not get any response.

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by