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

Ubuntu18.04上LAC的Java调用方式make失败 #263

Open
keido0514 opened this issue Nov 24, 2022 · 0 comments
Open

Ubuntu18.04上LAC的Java调用方式make失败 #263

keido0514 opened this issue Nov 24, 2022 · 0 comments

Comments

@keido0514
Copy link

keido0514 commented Nov 24, 2022

  1. OS环境:Ubuntu18.04的VMware虚拟机,Python-3.10、GCC-8.2、cmake-3.25
  2. Paddle的预测库下载的是paddle_inference-manylinux_cpu_avx_mkl_gcc8.2.tgz
  3. Java是openjdk1.8
  4. 编译JNI,执行make install后出现错误:
    make[2]: *** No rule to make target '/opt/paddle_inference_avx-mkl/paddle/lib/libpaddle_fluid.a', needed by 'liblacjni.so'. Stop.
    CMakeFiles/Makefile2:110: recipe for target 'CMakeFiles/lacjni.dir/all' failed
    make[1]: *** [CMakeFiles/lacjni.dir/all] Error 2
    Makefile:135: recipe for target 'all' failed
    make: *** [all] Error 2
    截图如下:

lacjni

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