Skip to content

Matlab mex not working #6

@Vytautas111

Description

@Vytautas111

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions