rbgirshick / caffe-fast-rcnn

Caffe fork that supports Fast R-CNN
Other
361 stars 395 forks source link

Compiling error, undefined reference to `caffe::P2PSync` #9

Closed DelightRun closed 8 years ago

DelightRun commented 8 years ago

When I compile this project, I got:

.build_release/tools/caffe.o: In function `train()':
caffe.cpp:(.text+0x1ab7): undefined reference to `caffe::P2PSync<float>::run(std::vector<int, std::allocator<int> > const&)'
collect2: error: ld returned 1 exit status
/usr/bin/ld: warning: libhdf5_hl.so.7, needed by /usr/local/lib/libcaffe.so, may conflict with libhdf5_hl.so.10
make: *** [.build_release/tools/caffe.bin] Error 1
make: *** Waiting for unfinished jobs....
CXX/LD -o .build_release/tools/train_net.bin

What's the problem

ChopinSharp commented 6 years ago

Hello. I'm having a similar problem. Could you tell me how did you solve this? Thanks.