You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default installation includes all of the SFML development information. I'm
git clone https://github.com/SFML/cmake-sfml-project.git
cd cmake-sfml-project/
mkdir build && cd build
cmake ..
make -j
make install
On ubuntu this gives me
[100%] Built target sfml-audio
Install the project...
-- Install configuration: ""
CMake Error at _deps/sfml-build/cmake_install.cmake:54 (file):
file cannot create directory: /usr/local/lib/pkgconfig. Maybe need
administrative privileges.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
make: *** [Makefile:120: install] Error 1
Which, yes, with admin privileges would work. But also that would be installing SFML and not the binary. You can make this go away by specifying an install prefix cmake -DCMAKE_INSTALL_PREFIX=install .. but then you're still installing the SFML stuff.
Is that expected? If not, how can I prevent that from happening?
The text was updated successfully, but these errors were encountered:
The default installation includes all of the SFML development information. I'm
On ubuntu this gives me
Which, yes, with admin privileges would work. But also that would be installing SFML and not the binary. You can make this go away by specifying an install prefix
cmake -DCMAKE_INSTALL_PREFIX=install ..
but then you're still installing the SFML stuff.Is that expected? If not, how can I prevent that from happening?
The text was updated successfully, but these errors were encountered: