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

Confusion about using Faber to Build #411

Open
fishbotics opened this issue Feb 3, 2023 · 2 comments
Open

Confusion about using Faber to Build #411

fishbotics opened this issue Feb 3, 2023 · 2 comments

Comments

@fishbotics
Copy link

Hi,

I'm trying to build the library (Ubuntu 20.04, Python 3.7 installed from Deadsnakes, Boost installed from Aptitude). When I clone the repo and run Faber, the build seems to succeed.

When I run faber test.report, most of the tests pass. I get the following

test summary: 85 passes, 4 expected failures, 3 skipped

But, when I try to link against this from my other project--a project that uses the typical CMake search function--it can't find the library. Is there some install command I need to run in order to put the binary in the right place? Something similar to make install? I see the binary inside the repo at src/g++-9/x86_64/shared/libboost_python37.so

Thanks!

@fishbotics
Copy link
Author

FWIW, I managed to make it work by manually copying the shared objects (Python and Numpy) into the system directory using:

cp ~/boost-python/src/g++-9/x86_64/shared/libboost_* /usr/lib/x86_64-linux-gnu/

@stefanseefeld
Copy link
Member

OK, thanks for that ! Perhaps it would be good to add an install target.

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

2 participants