SolveAXXB
SolveAXXB copied to clipboard
Need instructions on how to use this package
I'm interested in utilizing this package, and I had downloaded and compiled the source code, generating the libSolveAXXB.so file. But I'm new to using shared libraries. It would be much appreciated if you can help me out on how to use it. Thanks!
I used cmake .
, make
and make install
to compile the source code.
I tried to include the .h headers, but it won't work. This is my test.cpp
:
#include "SolveAXXB/axxbsolver.h"
int main() {}
and I got this error:
In file included from test.cpp:1:0:
/usr/local/include/SolveAXXB/axxbsolver.h:4:21: fatal error: Eigen/Core: No such file or directory
compilation terminated.
I'm not sure if I'm doing it right.
Thank you for your consideration.
I used cmake ., make compile the source code.But I encountered the following problem: In file included from /usr/include/eigen3/unsupported/Eigen/KroneckerProduct:30:0, from /home/robot/Documents/SolveAXXB-master/axxb/conventionalaxxbsvdsolver.cc:3: /usr/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h:246:11: error: ‘SparseMatrix’ does not name a type typedef SparseMatrix<Scalar, 0, StorageIndex> ReturnType; Can you help me?Thank you!
https://stackoverflow.com/questions/38486365/eigen3-from-linux-mint-17-3-repo-sparsematrix-not-named @zhaoxlvic maybe this can help you to solve the problem