MATLAB Answers

Deoply tools fails to add "-a" to header file

1 view (last 30 days)
gujax
gujax on 29 Jul 2012
Commented: Friedrich on 21 Jul 2014
I am trying to compile an executable. I am using the deploy tool. When I start building it, it gives me an error. In the error file, I notice that it failed to include "-a" option for the header file .h.
Any ideas why? Here is the log..
mcc -o Hemodynamics -W WinMain:Hemodynamics -T link:exe -d 'C:\Documents and Settings\User\My Documents\Hemodynamics\Hemodynamics\src' -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v 'C:\Documents and Settings\User\My Documents\Hemodynamics\ABC\Hemodynamics.m' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\PO\CM_plot.m' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\PO\CM.m' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\PO\CMnd.m' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\PO\CMcode.m' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\ABC\Datanalysis.m' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\ABC\x02win7.dll' 'C:\Documents and Settings\User\My Documents\Hemodynamics\ABC\20win7.h' -a 'C:\Documents and Settings\User\My Documents\Hemodynamics\ABC\oem20.m'
Error: You specified file "C:\Documents and Settings\User\My Documents\Hemodynamics\Flex02-20\flex0220win7.h" without using "-a" option.
mcc failed.
If you ignore the rest but notice the third statement from the last, there is a missing -a option after .dll and the start of the path to the .h file. Do not understand why?
Appreciate any help.
Thanks

  4 Comments

Show 1 older comment
gujax
gujax on 1 Aug 2012
Hi Kaustubha, When I run the program after fixing the -a option manually, I am able to compile without problem. How do I bring this to the attention of Tech Support. Just file a bug report? Thank you for your response, gujax
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 21 Jul 2014
I've the same problem exactly!
I've no Idea how to get this fixed! What should I do?!
Friedrich
Friedrich on 21 Jul 2014
do not add any header filer with -a argument. Its not needed anyway.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by