0
我已按照所有步驟來安裝caffe依賴項。我碰到以下錯誤:正在安裝caffe cmake錯誤
find: `dependencies/cmake-3.3.0-rc2/Tests/FindPackageTest/Baz': No such file or directory
find: `1.1': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/FindPackageTest/Baz': No such file or directory
find: `1.2': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/FindPackageTest/Baz': No such file or directory
find: `1.2/CMake': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Another': No such file or directory
find: `Subdir': No such file or directory
find: `Sources': No such file or directory
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `find dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some(x86) Sources -maxdepth 1 \(-name '*.cpp' -o -name '*.proto' \) | grep -q .'
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some': No such file or directory
find: `Examples': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some': No such file or directory
find: `Examples/example2': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some': No such file or directory
find: `Examples/example1': No such file or directory
LD -o .build_release/lib/libcaffe.so
/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libgflags.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so] Error 1
我不確定發生了什麼事。看起來好像cmake沒有正確安裝?有什麼好奇的是,我有兩個cmake文件夾:一個在我的caffe文件夾中,另一個在額外的文件夾內,我稱之爲「依賴關係」,其中我正在編譯caffe的所有其他依賴項:
正在形成我的/ caffe /文件夾:
$ ls
build
.build_release
caffe.cloc
cmake
cmake-3.3.0-rc2.tar.gz
CMakeLists.txt
CONTRIBUTORS.md
data
dependencies
distribute
docs
.Doxyfile
examples
.gitignore
include
INSTALL.md
LICENSE
Makefile
Makefile.config
Makefile.config.example
matlab
models
python
README.md
scripts
src
tools
.travis.yml
做從我的/朱古力/依存/文件夾LS:
$ ls
cmake-3.3.0-rc2
cmake-3.3.0-rc2.tar.gz
gflags-master
gflags-master.zip
glog-0.3.3
glog-0.3.3.tar.gz
master.zip
mdb
是我應該安裝我的/朱古力/文件夾內所有的依賴?