Borrar filtros
Borrar filtros

LNK2019 Issue after code generator from MATLAB to C

4 visualizaciones (últimos 30 días)
Yovani Mendez
Yovani Mendez el 22 de Sept. de 2017
Respondida: Mandar Patwardhan el 25 de Sept. de 2017
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"

Respuesta aceptada

Mandar Patwardhan
Mandar Patwardhan el 25 de Sept. de 2017
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.

Más respuestas (0)

Categorías

Más información sobre Java Package Integration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by