-
Notifications
You must be signed in to change notification settings - Fork 51
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
compile erro "/bin/ld: cannot find -lxilinxopencl..." #5
Comments
Make sure you source the settings.sh file in the SDAccel install directory, the Makefile depends on the environment variables being set from that script. Also in Centos 7 cblas and atlas require symbolic links to I think satlas and tatlas because the naming scheme changed. I can't remember exactly what the symbolic links need to be since most of my builds have been done with Centos 6. Also, if you want to build some of the standalone FPGA tests, you can run make testfpga which will build the FPGA tests. Some of these might fail depending on what the exponent and mantissa settings are in include/fpga_caffe/cpfp.hpp though it's not indicative that there will actually be an accuracy drop. |
Hi, @dicecco1 I thought I have solved the prolem above. But when the compile process almost comes to an end, I got an erro like this:
it seems that the protobuf happens to some problem, could you provide any suggestion on this? |
Which version of protobuf do you have? I saw some issues a while ago that forced me to use an earlier version of protobuf because of the version that SDAccel uses. It doesn't look like it's the exact same issue but it might help out regardless. I did see some similar issues when trying to build on Ubuntu 16.04, which again I think was related to the version of protobuf that was used. |
@dicecco1 |
I used 2.4.1 installed from the git repo. |
Hi,@dicecco1 after uninstall the protobuf v2.5.0, I compile and install the v2.4.1 from the git repo. "make all" again, I got this erro:
it's more likely that the "libgstreamer-0.10.so.0" is the actual problem, do you have any suggestion? |
Are you able to build standalone Caffe? Trying to diagnose if this is a problem related to one of the libraries used by SDAccel or not. It looks like it's a problem with whatever version of libxml you have judging from: |
hi, @dicecco1 I have built up the CPU version Caffe successfully on the same machine, but when I try to build up your caffe again, it still gives the same erro. |
I'm using centos7 and SDAccel 2017.1.
When I want to compile following your instructs in #3 (comment)
After command "make all", I got a problem like this :
So, where shall I found the lxilinxopencl?
or could you please give a more detailed installation tutorial, such as how did you modify your Makefile.config ?
The text was updated successfully, but these errors were encountered: