1
General / Help Request: Unable to Find Shared Libraries Configuration in CLion
« on: May 01, 2024, 09:05:17 pm »
I am currently experiencing an issue with configuring SFML to use shared libraries in my project. I've followed the SFML installation instructions and built SFML from source on macOS (M1 arm64 architecture) with the intention of using shared libraries for my project. However, I'm encountering difficulties configuring my project to link against these shared libraries.
I followed instructions on an earlier post:
"If you are still trying to compile SFML for M1, I just did it some minutes ago and I want to share my process:
- git clone https://github.com/SFML/SFML.git
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES=arm64 ..
- make all"
and here is the error I'm receiving from CLion:
CMake Error at /usr/local/SFML/build/SFMLConfig.cmake:149 (message):
Requested SFML configuration (Shared) was not found
I followed instructions on an earlier post:
"If you are still trying to compile SFML for M1, I just did it some minutes ago and I want to share my process:
- git clone https://github.com/SFML/SFML.git
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES=arm64 ..
- make all"
and here is the error I'm receiving from CLion:
CMake Error at /usr/local/SFML/build/SFMLConfig.cmake:149 (message):
Requested SFML configuration (Shared) was not found