Skip to content

Problem with compiling MPSolve with Matlab  #35

@mahradsv

Description

@mahradsv

I am getting the following errors when using the "make" command in terminal:

.../examples/matlab/mps_roots_string.c:77:25: error: non-constant-expression cannot be narrowed from type 'int' to 'mwSize' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
mwSize dims[] = { n-1, 4 };

.../examples/matlab/mps_roots_string.c:87:33: error: non-constant-expression cannot be narrowed from type 'int' to 'mwIndex' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
mwIndex indices[] = { i, 0 };

I would appreciate to hear about your suggestion.

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