Effacer les filtres
Effacer les filtres

Why do i get Linker errors (LNK1120/LNK2001) with MATLAB C functions if i compile with __vectorcall calling convention (VS2015)?

1 vue (au cours des 30 derniers jours)
Problem: Linker errors (LNK1120/LNK2001) if I compile my code with calling convention __vectorcall (/Gv) in Visual Studio 2015 and using C functions from MATLAB.
For example: "LNK2001 Unresolved external Symbol "matOpen@@16" "
Using a different calling convention /Gd, /Gr or /Gz the code compiles without any error. Linking with libs in the following Matlab dir ..\Matlab\R2015b\extern\lib\win64\microsoft\

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler 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!

Translated by