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

1 次查看(过去 30 天)
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\

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by