Hello,
I am atm trying to install SFML2 on my archlinux computer. However, it greatly do the first builds, but, when linking, it causes a "System Error".
The log :
$ cmake -i .
Would you like to see advanced options? [No]:
Please wait while cmake processes CMakeLists.txt files....
Variable Name: BUILD_DOC
Description: TRUE to generate the API documentation, FALSE to ignore it
Current Value: FALSE
New Value (Enter to keep current value): TRUE
Variable Name: BUILD_EXAMPLES
Description: TRUE to build the SFML examples, FALSE to ignore them
Current Value: FALSE
New Value (Enter to keep current value): TRUE
Variable Name: BUILD_SHARED_LIBS
Description: TRUE to build SFML as shared libraries, FALSE to build it as static libraries
Current Value: TRUE
New Value (Enter to keep current value):
Variable Name: CMAKE_BUILD_TYPE
Description: Choose the type of build (Debug or Release)
Current Value: Release
New Value (Enter to keep current value): Debug
Variable Name: CMAKE_INSTALL_PREFIX
Description: Install path prefix, prepended onto install directories.
Current Value: /usr/local
New Value (Enter to keep current value):
Variable Name: GLEW_INCLUDE_PATH
Description: The directory where GL/glew.h resides
Current Value: /usr/include
New Value (Enter to keep current value):
Variable Name: GLEW_LIBRARY
Description: The GLEW library
Current Value: /usr/lib/libGLEW.so
New Value (Enter to keep current value):
Please wait while cmake processes CMakeLists.txt files....
CMake complete, run make to build project.
$ make
[ 1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.o
[ 2%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.o
[ 3%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Lock.cpp.o
[ 5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.o
[ 6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.o
[ 7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.o
[ 9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.o
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.o
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/MutexImpl.cpp.o
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/Platform.cpp.o
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ThreadImpl.cpp.o
[ 15%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ThreadLocalImpl.cpp.o
Linking CXX shared library ../../../lib/libsfml-system-d.so
CMake Error: cmake_symlink_library: System Error: Operation not permitted
CMake Error: cmake_symlink_library: System Error: Operation not permitted
make[2]: *** [lib/libsfml-system-d.so.2.0.0] Erreur 1
make[1]: *** [src/SFML/System/CMakeFiles/sfml-system.dir/all] Erreur 2
make: *** [all] Erreur 2
How do you think I could fix it ? I downloaded the git version less than an hour ago.
Thank you in advance,
Ekinox