Clear Filters
Clear Filters

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

1 view (last 30 days)
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\

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!