-
Notifications
You must be signed in to change notification settings - Fork 14
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
Caffe build failed on Ubuntu 16.04 because of protobuf errors #6
Comments
@adeelz92 A quick update on this issue I solved the previous error by making minor changes in my makefile.config as per your guide but now I am another issue which is based on protobuf. Can you please take a at my issue and help me guide through this. I am still learning and trying my best to solve this issue. But it would be great if you can drop any suggestions or advice which will help me learn new concept.Thanks and cheers AR -o .build_release/lib/libcaffe.a |
@adeelz92 Another quick update on this issue. Finally I was able to successfully build and install caffe with python 3. make all make runtest make pycaffe But now its giving me errors when i import it Can you please guide me? Though I am trying my best and update if anything comes up thanks |
Fixed the issue by reinstalling dateuitls python3 package based on caffe requirement pip3 install python-dateutil --upgrade |
Basically I have followed your guide to install and build caffe entirely but it seems that it fails giving this error
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0
/usr/bin/ld: cannot find -lboost_python3-py35
collect2: error: ld returned 1 exit status
Makefile:582: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1
So I did my own research of building caffe https://medium.com/@atinesh/caffe-installation-on-ubuntu-18-04-lts-python-3-6-e76375f0d353
BVLC/caffe#6720 => Similar issue
Not sure if this issue is caused by step in your guide install caffe on ubuntu python3
9 Now rename boost_python3 in PYTHON_LIBRARIES to boost_python-py35. PYTHON_LIBRARIES should look like this.
PYTHON_LIBRARIES := boost_python-py35
It would be really helpful if you can guide me. Please feel free to reach out should you have any questions
My Makefile.config
The text was updated successfully, but these errors were encountered: