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

build libtorrent4j.so failed #265

Open
marsiot opened this issue May 20, 2024 · 0 comments
Open

build libtorrent4j.so failed #265

marsiot opened this issue May 20, 2024 · 0 comments

Comments

@marsiot
Copy link

marsiot commented May 20, 2024

I download the code libtorrent4j-2.1.0-27, follow the readme to build so, but failed:

  1. cd libtorrent4j-2.1.0-27/swig/android-build
  2. docker build -t lt4j:latest .
  3. ./build-arm64.sh

error log:

./build-arm64.sh
BOOST_ROOT = /boost
OPENSSL_ROOT = /openssl-arm64
LIBTORRENT_ROOT = /libtorrent4j/swig/deps/libtorrent
/boost/tools/build/src/build/project.jam:259: in find-jamfile from module project
error: Unable to load Jamfile.
error: Could not find a Jamfile in directory '/libtorrent4j/swig/deps/libtorrent'.
error: Attempted to find it with pattern '[Bb]uild.jam [Jj]amfile.v2 [Jj]amfile [Jj]amfile. [Jj]amfile.jam'.
error: Please consult the documentation at 'https://www.bfgroup.xyz/b2/'.
/boost/tools/build/src/build/project.jam:322: in load-jamfile from module project
/boost/tools/build/src/build/project.jam:64: in load from module project
/boost/tools/build/src/build/project.jam:89: in load-used-projects from module project
/boost/tools/build/src/build/project.jam:75: in load from module project
/boost/tools/build/src/build/project.jam:142: in project.find from module project
/boost/tools/build/src/build-system.jam:618: in load from module build-system
/boost/tools/build/src/kernel/modules.jam:294: in import from module modules
/boost/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
/libtorrent4j/swig/boost-build.jam:1: in module scope from module

/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy: error: 'bin/release/android/arm64-v8a/libtorrent4j.so': No such file or directory
/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip: error: 'bin/release/android/arm64-v8a/libtorrent4j.so': No such file or directory
/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf: error: 'bin/release/android/arm64-v8a/libtorrent4j.so': No such file or directory

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

1 participant