Open holopekochan opened 6 years ago
any update ? I meet the same problem.
Please check libarm_compute.so and libarm_compute_core.so files are located in /usr/lib directory before compiling CaffeOnACL. CaffeOnACL will try to find ACL library in /usr/lib first for linking.
Thanks.
I am facing the same problem. The files are at /usr/local/AID/ComputeLibrary/lib/
and they are found too. But the problem is that those libraries are built for arm
compiled by aarch64-linux-gnu-gcc
, I think that's why it is showing
skipping incompatible /usr/local/AID/ComputeLibrary/lib/libarm_compute.so
The the libarm_compute.so in AID is 64bit, did you try to build 32bit libraries? if so, please compile Arm Compute library to 32 bit yourself.
I have followed the installation process on the repo. I am not sure that the given Makefile
file made it 32 bit or not. The docker files are also misleading I guess. Because they are for official bvlc/caffe
not for this repository.
Is there any solution to the above problem I an facing the same problem.
@sejal-gupta Did you try to build 32 bits program? Can you paste the error message?
@joey2014 thank you for your reply. Following is the error I am getting. LD -o .build_release/lib/libcaffe.so.1.0.0-rc5 /usr/bin/ld: skipping incompatible /usr/local/AID/ComputeLibrary/lib/libarm_compute.so when searching for -larm_compute /usr/bin/ld: cannot find -larm_compute /usr/bin/ld: skipping incompatible /usr/local/AID/ComputeLibrary/lib/libarm_compute_core.so when searching for -larm_compute_core /usr/bin/ld: cannot find -larm_compute_core /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5 collect2: error: ld returned 1 exit status Makefile:626: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc5' failed make: *** [.build_release/lib/libcaffe.so.1.0.0-rc5] Error 1
@sejal-gupta
You tried to build 32 bits Caffe, but the default build enviroment only works on 64 bits.
There are two reasons that caused the link failure:
@joey2014 Thanks a lot
I have followed the instruction. also the pdf to compile CaffeOnACL. Hpwever, it keeps failing during "sudo make all" steps. I have tried to compile computer library again but the library are still not compatible or missing. Any help would be appreciated. Thanks