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

1 次查看(过去 30 天)
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 个评论
Salaheddin Hosseinzadeh
I've the same problem exactly!
I've no Idea how to get this fixed! What should I do?!
Friedrich
Friedrich 2014-7-21
do not add any header filer with -a argument. Its not needed anyway.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by