Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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\

Respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by