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

Need instructions on how to use this package #1

Open
chang-yu-wei opened this issue Apr 12, 2018 · 2 comments
Open

Need instructions on how to use this package #1

chang-yu-wei opened this issue Apr 12, 2018 · 2 comments

Comments

@chang-yu-wei
Copy link

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.

@zhaoxlvic
Copy link

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!

@ttomchy
Copy link

ttomchy commented Jul 3, 2018

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

3 participants