I am trying to compile the OpenCV library on a shared drive on my system. I was able to configure and generate makefiles successfully by using these settings, but when I try to compile I get the following error:
Linking CXX shared library ../../lib/libopencv_core.so
CMake Error: cmake_symlink_library: System Error: Operation not permitted
CMake Error: cmake_symlink_library: System Error: Operation not permitted
make[2]: *** [lib/libopencv_core.so.2.4.3] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [all] Error 2
How do I resolve this issue?
I think it may be an issue with the mount flags.
ntfs
drive, then create a file inside and then execute the following command in your terminal:ln -s /path-to-ntfs-drive/name-of-file /path-to-ntfs-drive/symlink-name
. If this works without an error, then I suppose you will be able to run CMake onntfs
drive. If you get an error, then verify that your drive is mounted viantfs-3g
driver (mount
will say thattype
isfuseblk
). – bender Jan 04 '13 at 12:27