Deoply tools fails to add "-a" to header file
Show older comments
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
Kaustubha Govind
on 30 Jul 2012
gujax: Not sure, but it could be a bug that you should consider bringing to the attention of MathWorks Tech Support. What happens if you run the command (after fixing the missing -a) manually from the prompt?
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
on 21 Jul 2014
do not add any header filer with -a argument. Its not needed anyway.
Answers (0)
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!