Why do I receive error "unresolved external symbol _vprintf" when building SLRT model on MATLAB R2017a with Visual Studio 2017?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 14 Déc 2017
Modifié(e) : MathWorks Support Team
le 18 Avr 2019
Why do I receive an error when building SLRT model on MATLAB R2017a with Visual Studio 2017? I am trying to build a modified version of the "slrttestmdl" where I use matrix multiplication to multiply two matrices and display them. The error does not occur when I use element wise multiplication, but does occur when using matrix multiplication. The specific error messages I get during the build process are:
libcblas.a(cblas_xerbla.o) : error LNK2019: unresolved external symbol _vprintf referenced in function _cblas_xerbla
libcblas.a(cblas_errprn.o) : error LNK2001: unresolved external symbol _vprintf
libatlas.a(ATL_xerbla.o) : error LNK2001: unresolved external symbol _vprintf
Réponse acceptée
MathWorks Support Team
le 19 Avr 2019
Modifié(e) : MathWorks Support Team
le 18 Avr 2019
This issue has been fixed in MATLAB R2017b.
The underlying issue was related to updates from Microsoft to the Visual Studio compilers.
For more details, refer to the following link,
And note the following statement:
"Versioning: The value of the built-in preprocessor macro _MSC_VER is now being monotonically updated at every Visual C++ toolset update."
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deploy to C++ Applications Using MATLAB Data API (C++11) dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!