CMake错误:无法创建符号链接“ ../../lib/libcaffe.so”:未实现功能

时间:2019-08-17 22:07:46

标签: python cmake caffe google-colaboratory openpose

我正在尝试在Google colab上构建openpose,并且我已经完成了Cmake的配置,而当涉及到make时,我就使用了

make -j4 all 

它弹出一个错误,这是错误:

[ 84%] Linking CXX shared library ../../lib/libcaffe.so
CMake Error: failed to create symbolic link '../../lib/libcaffe.so':  function not implemented
CMake Error: cmake_symlink_library: System Error: Function not  implemented
src/caffe/CMakeFiles/caffe.dir/build.make:2215: recipe for target 'lib/libcaffe.so.1.0.0' failed
make[5]: *** [lib/libcaffe.so.1.0.0] Error 1
make[5]: *** Deleting file 'lib/libcaffe.so.1.0.0'
CMakeFiles/Makefile2:240: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[4]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/openpose_lib.dir/build.make:110: recipe for target 'caffe/src/openpose_lib-stamp/openpose_lib-build' failed
make[2]: *** [caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2
CMakeFiles/Makefile2:72: recipe for target   'CMakeFiles/openpose_lib.dir/all' failed
make[1]: *** [CMakeFiles/openpose_lib.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我在 NTFS 上编译时遇到了类似的问题 检查文件系统。 ext4 编译顺利 希望这能解决您的问题