daijifeng001 / caffe-mnc

Caffe branch for MNC
Other
11 stars 14 forks source link

`make test` fails #1

Open yassersouri opened 8 years ago

yassersouri commented 8 years ago

I have tried installing this version of caffe for MNC.

I can install this thing fine with make all and make pycaffe.

But I wanted to test it if the installation was okay. So I ran make test to make the tests, but I ran into the following error:

...
CXX src/caffe/test/test_bias_layer.cpp
src/caffe/test/test_smooth_L1_loss_layer.cpp:11:35: fatal error: caffe/vision_layers.hpp: No such file or directory
 #include "caffe/vision_layers.hpp"
                                   ^
compilation terminated.
make: *** [.build_release/src/caffe/test/test_smooth_L1_loss_layer.o] Error 1
make: *** Waiting for unfinished jobs....

I wonder if the changes you have made to this version of caffe causes this.

AndreiBarsan commented 7 years ago

I read somewhere (I don't remember where; I believe it was another GitHub issue) that it's safe to remove the file containing the faulty include. In my case, doing that allows the tests to build, and then they all pass.