필터 지우기
필터 지우기

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 CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by