unresolved external symbol error, while building in Visual Studio code made by coder.

4 visualizzazioni (ultimi 30 giorni)
I generateg CPP source code and DLL with the matlab coder.
I am trying to build the project in visual studio by following this guide: link, but I'm getting the attached errors.
Do you know what could be the reason?
Matlab version 2018a

Risposte (1)

Titus Edelhofer
Titus Edelhofer il 4 Giu 2019
Hi Sara,
just to be sure: did you specify the dll as external reference, as described in the doc in "Specify External Dependencies"?
  2 Commenti
Sara il 4 Giu 2019
I added the .lib file according to this guidance:
Under Configuration Properties > Linker > Input, add foo.lib to Additional Dependencies.
and the path as described in the next clause.
Is there something additional I need to perform?

Accedi per commentare.


Scopri di più su MATLAB Coder 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