Skip to content

Error building MATLAB Bindings #19

@lopenguin

Description

@lopenguin

Hello,

I'm trying to compile the MATLAB binaries on Ubuntu 22.04 and I get the following errors:

clipper/bindings/matlab/finddensecluster_mex.cpp:65:37: error: ‘clipper::utils’ has not been declared
   65 |   if (u0.size() == 0) u0 = clipper::utils::randvec(m);
      |                                     ^~~~~
clipper/bindings/matlab/finddensecluster_mex.cpp:74:21: error: ‘findDenseCluster’ is not a member of ‘clipper’
   74 |     soln = clipper::findDenseCluster(Ms, Cs, u0, params);
      |                     ^~~~~~~~~~~~~~~~
clipper/bindings/matlab/finddensecluster_mex.cpp:76:21: error: ‘findDenseCluster’ is not a member of ‘clipper’
   76 |     soln = clipper::findDenseCluster(M, C, u0, params);
      |                     ^~~~~~~~~~~~~~~~

On inspection, it seems findDenseCluster is not a declared function in the C++ code. Am I missing something? How did you compile the MATLAB binaries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions