Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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\

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by