splinterp icon indicating copy to clipboard operation
splinterp copied to clipboard

Matlab mex not working

Open Vytautas111 opened this issue 4 years ago • 0 comments

Thanks for sharing this, it looks great!

I have one question. I'm trying to run this from Matlab, but I'm getting the following errors when I run the "compile_mex_script" file":

MATLAB\splinterp-master\splinterp1.cpp(18): error C2039: 'max': is not a member of 'std' Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\thread(28): note: see declaration of 'std' Matlab\splinterp-master\splinterp1.cpp(18): error C3861: 'max': identifier not found MATLAB\splinterp-master\splinterp1.cpp(40): error C2039: 'max': is not a member of 'std' Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\thread(28): note: see declaration of 'std' MATLAB\splinterp-master\splinterp1.cpp(40): error C3861: 'max': identifier not found

any idea why this happens?

Vytautas111 avatar Jul 24 '20 03:07 Vytautas111