Azzera filtri
Azzera filtri

LNK2019 Issue after code generator from MATLAB to C

3 visualizzazioni (ultimi 30 giorni)
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"

Risposta accettata

Mandar Patwardhan
Mandar Patwardhan il 25 Set 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.

Più risposte (0)

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by