フィルターのクリア

LNK2019 Issue after code generator from MATLAB to C

4 ビュー (過去 30 日間)
Yovani Mendez
Yovani Mendez 2017 年 9 月 22 日
回答済み: Mandar Patwardhan 2017 年 9 月 25 日
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"

採用された回答

Mandar Patwardhan
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 件)

カテゴリ

Help Center および File ExchangeJava Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by