【问题标题】:CMake Error: failed to create symbolic link '../../lib/libcaffe.so': function not implementedCMake 错误:未能创建符号链接“../../lib/libcaffe.so”:功能未实现
【发布时间】:2019-08-17 22:07:46
【问题描述】:

我正在尝试在google colab上构建openpose,并且我已经完成了Cmake配置,并且在制作时,我使用了

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

如何解决这个问题?

【问题讨论】:

  • 我认为这与 CMake 或 caffe 无关,而与您编译的文件系统有关。我不知道'google colab',但我认为是操作系统的文件系统不支持符号链接。

标签: python cmake caffe google-colaboratory openpose


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-10
    • 2020-12-01
    相关资源
    最近更新 更多