Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear algebra plugin is broken: no matching function for call to 'lu_factor' #1069

Closed
yurivict opened this issue Nov 17, 2018 · 6 comments
Closed

Comments

@yurivict
Copy link

/usr/ports/audio/csound6/work/csound-6.12.2/Opcodes/linear_algebra.cpp:3504:14: error: no matching function for call to 'lu_factor'
    *isize = gmm::lu_factor(lhs->mr, pivot__);
             ^~~~~~~~~~~~~~
/usr/local/include/gmm/gmm_dense_lu.h:129:13: note: candidate function not viable: cannot bind base class object of type 'std::vector<size_t>' (aka 'vector<unsigned long>') to derived class reference 'gmm::lapack_ipvt &' for 2nd argument
  size_type lu_factor(DenseMatrix& A, lapack_ipvt& ipvt) {
            ^
/usr/ports/audio/csound6/work/csound-6.12.2/Opcodes/linear_algebra.cpp:3541:14: error: no matching function for call to 'lu_factor'
    *ksize = gmm::lu_factor(lhs->mr, pivot__);
             ^~~~~~~~~~~~~~
/usr/local/include/gmm/gmm_dense_lu.h:129:13: note: candidate function not viable: cannot bind base class object of type 'std::vector<size_t>' (aka 'vector<unsigned long>') to derived class reference 'gmm::lapack_ipvt &' for 2nd argument
  size_type lu_factor(DenseMatrix& A, lapack_ipvt& ipvt) {
            ^
/usr/ports/audio/csound6/work/csound-6.12.2/Opcodes/linear_algebra.cpp:3575:14: error: no matching function for call to 'lu_factor'
    *isize = gmm::lu_factor(lhs->mc, pivot__);
             ^~~~~~~~~~~~~~
@vlazzarini
Copy link
Member

I suspect you have the wrong version of gmm. It builds elsewhere, so it is definitely not broken,@gogins may be able to help.

@yurivict
Copy link
Author

I have:

gmm++-5.3                      Generic matrix template library

Repology says that this is the latest version: https://repology.org/metapackage/gmm++/versions

@gogins
Copy link
Contributor

gogins commented Nov 17, 2018 via email

@jpffitch
Copy link
Contributor

jpffitch commented Nov 17, 2018 via email

@gogins
Copy link
Contributor

gogins commented Nov 17, 2018 via email

@yurivict
Copy link
Author

This workaround works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants