SolveAXXB icon indicating copy to clipboard operation
SolveAXXB copied to clipboard

Need instructions on how to use this package

Open chang-yu-wei opened this issue 6 years ago • 2 comments

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 installto 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.

chang-yu-wei avatar Apr 12 '18 06:04 chang-yu-wei

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!

zhaoxlvic avatar May 07 '18 02:05 zhaoxlvic

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

ttomchy avatar Jul 03 '18 12:07 ttomchy