-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Error .build_release/lib/libcaffe.so: undefined reference to `caffe::BlockingQueue #5451
Comments
Try adding |
thanks, @Laser-Cat , almost solve my problem!
to file |
I guess you may hold caffe code from earlier version. More details: 3ba2054 |
My bad. I've just messed up my local repo. Thanks for your reply. |
What if I want to use the latest caffe and how to solve this problem? Any suggestions |
I meet a bug after the adding proposed by @Laser-Cat and @DefineFC . CXX src/caffe/util/blocking_queue.cpp |
@bzqsmmzh see my last post, will that help?
|
Hi @bzqsmmzh First you have to add two header files to file
and then you can add the following code
The following commit will tell you what exactly you can do. |
@DefineFC @djangogo |
I am getting following error for ~/caffe$ sudo make all Anyone pl help how to resolve it |
hello, I want to run the fixed point caffe by JiannhuiWang on my desktop, and when compiling the /tools/ristretto.cpp, it has a problem as follows:
CXX/LD -o .build_release/tools/ristretto.bin
.build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueue<boost::shared_ptr<caffe::DataReader::QueuePair> >::size() const' .build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueue<boost::shared_ptrcaffe::DataReader::QueuePair >::push(boost::shared_ptrcaffe::DataReader::QueuePair const&)'.build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueue<caffe::Datum*>::push(caffe::Datum* const&)' .build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueuecaffe::Datum*::BlockingQueue()'.build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueue<boost::shared_ptr<caffe::DataReader::QueuePair> >::pop(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' .build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueuecaffe::Datum*::pop(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'.build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueue<caffe::Datum*>::try_pop(caffe::Datum**)' .build_release/lib/libcaffe.so: undefined reference to
caffe::BlockingQueue<boost::shared_ptrcaffe::DataReader::QueuePair >::BlockingQueue()'collect2: error: ld returned 1 exit status
Makefile:625: recipe for target '.build_release/tools/ristretto.bin' failed
make: *** [.build_release/tools/ristretto.bin] Error 1
I have compiled all the other related files with no errors.
The text was updated successfully, but these errors were encountered: