LNK2019 Issue after code generator from MATLAB to C
1 次查看(过去 30 天)
显示 更早的评论
After creating a project in MATLAB for POS, we generate the code for C, in order to implement it on the main system, as a tested project. But when we import the generated files to the VS solution, we get the;
- LNK2019 : Unresolved external symbol xsymbol referenced in functions chcenters.
So we get many of the same type of link errors, they all lead to the missing reference from the .h to the implementation file(.c). So if these are proprietary files, how do I know where to obtain the licenses. Or what is the issue, the next libraries are the ones missing their corresponding implementation;
- "libmwgetnumcores.h"
- "libmwgrayto8.h"
- "libmwimregionalmax.h"
- "libmwippreconstruct.h"
- "libmwordfilt2.h"
- "libmwtbbhist.h"
0 个评论
采纳的回答
Mandar Patwardhan
2017-9-25
Hi Yovani,
The unresolved external symbols errors indicate that during the link-stage of compiling the MEX-file, these symbols are not available. A lot of users have previously faced these issues.
Refer to the following link to go through the similar issues and the resolution provided for them.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!