Why do I get syntax errors when I try to link against a MATLAB Compiler generated shared library in MSVC 6.0?
I get the following error message:
C:\MATLAB6p1\EXTERN\INCLUDE\CPP\mltif.h(10890) : error C2059: syntax error : '(' C:\MATLAB6p1\EXTERN\INCLUDE\CPP\mltif.h(10891) : error C2143: syntax error : missing ';' before '{' C:\MATLAB6p1\EXTERN\INCLUDE\CPP\mltif.h(10891) : error C2447: missing function header (old-style formal list?) Error executing cl.exe.
Best Answer