Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I am a total newbie at this but I can't work out where I'm going wrong. I believe there's something wrong with boost? But I'm not sure what to do now
-crunch:~/apps/caffe$ make all
CXX src/caffe/layers/euclidean_loss_layer.cpp
In file included from ./include/caffe/blob.hpp:8:0,
from ./include/caffe/layers/euclidean_loss_layer.hpp:6,
from src/caffe/layers/euclidean_loss_layer.cpp:3:
./include/caffe/common.hpp:4:32: fatal error: boost/shared_ptr.hpp: No such file or directory
#include <boost/shared_ptr.hpp>
^
compilation terminated.
make: *** [.build_release/src/caffe/layers/euclidean_loss_layer.o] Error 1
I think I did that, but I've no idea how... now this? Could you give me the code to fix it?
chris@chris-crunch:~/apps/caffe$ make all
CXX src/caffe/layers/euclidean_loss_layer.cpp
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/euclidean_loss_layer.hpp:7,
from src/caffe/layers/euclidean_loss_layer.cpp:3:
./include/caffe/util/mkl_alternate.hpp:11:19: fatal error: cblas.h: No such file or directory
#include <cblas.h>
^
compilation terminated.
make: *** [.build_release/src/caffe/layers/euclidean_loss_layer.o] Error 1
which ever distro you are using, you use their system to install programs, do a search with it looking for your dev or devel packages with the same name then install that. when ever you build from source you have to have the devel packages installed so it can read the header files to define the functions within it. in other words so it knows what it is suppose to do to get the job done.
so when ever you are doing this use the errors to let it tell you what you are missing then just search for the devel / dev (developer) package associated with it then install it, then move on to the next item, if it completes then you have everything you need installed already.
search for cblas-dev or cblas-devel or just cblas then look for the devel package then install that, then move on.
if your repo does not have the developer package then go to the net, then find it, the lastest one,then install that then move on... excluding murphy law, there is always an exception to the rule.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.