facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

docker build error #593

Closed vinnitu closed 7 years ago

vinnitu commented 7 years ago
[ 54%] Building CXX object caffe2/CMakeFiles/Caffe2_CPU.dir/operators/funhash_op.cc.o
In file included from /caffe2/caffe2/operators/funhash_op.cc:1:0:
/caffe2/caffe2/operators/funhash_op.h:4:20: fatal error: xxhash.h: No such file or directory
 #include <xxhash.h>
                    ^
compilation terminated.
make[3]: Leaving directory `/caffe2/build'
make[3]: *** [caffe2/CMakeFiles/Caffe2_CPU.dir/operators/funhash_op.cc.o] Error 1
make[2]: *** [caffe2/CMakeFiles/Caffe2_CPU.dir/all] Error 2
make[2]: Leaving directory `/caffe2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/caffe2/build'
make: *** [all] Error 2
The command '/bin/sh -c cd caffe2 && make && cd build && make install' returned a non-zero code: 2
fanyongkang87 commented 7 years ago

In caffe2.sln, also see this error.

zklgame commented 7 years ago

I also saw this error when run build_ios.sh

jimmyoic commented 7 years ago

I'm following the tutorial to build caffe2 in VS2017 and the same problem occured.

ghost commented 7 years ago

The commit "fix mkl_sparse and migrate sparsity experiments" seems to have caused this problem. If you use the previous commit, you should be ok.

arasharchor commented 7 years ago

I ran into the same problem.

barrydreamworld commented 7 years ago

Same problem on Ubuntu 14.04

pietern commented 7 years ago

Thanks for posting. Reverting the offending commit.

(Same issue as #594)