Skip to content

Error when compiling with RCpp: no match for call to function #61

Open
@ahoundetoungan

Description

@ahoundetoungan

I get these errors when compiling my the cpp file with Rcpp

From the file nm.hpp
unconstrained/nm.hpp:230:58: error: no match for call to ‘(optim::ColVec_t {aka arma::Col<double>}) (optim::ColVecUInt_t&)’

From the file core/access.hpp
core/access.hpp:27:43: error: no matching function for call to ‘arma::Mat<double>::rows(optim::ColVecUInt_t&)’

I also got a lot of notes and warnings: for example int used at the place of long.
Did I miss something? I followed method 2 for the installation.

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