1
Window / Re: Fullscreen button and fullscreen style behaviour differs on macOS
« on: May 04, 2022, 09:07:07 am »
Ah, perfect, thank you. I shall dig into that. The jigsaw pieces are coming together!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
"C:\Program Files\JetBrains\CLion 2022.1\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_MAKE_PROGRAM=C:/Program Files/JetBrains/CLion 2022.1/bin/ninja/win/ninja.exe" -G Ninja -S D:\cs4300\a2 -B D:\cs4300\a2\cmake-build-debug
CMake Error at D:/Software/SFML/sfml-install/lib/cmake/SFML/SFMLConfig.cmake:150 (message):
Found SFML but requested component 'audio' is missing in the config defined
in D:\Software\SFML\SFML-install\lib\cmake\SFML.
Call Stack (most recent call first):
CMakeLists.txt:11 (find_package)
CMake Error at CMakeLists.txt:11 (find_package):
Found package configuration file:
D:/Software/SFML/SFML-install/lib/cmake/SFML/SFMLConfig.cmake
but it set SFML_FOUND to FALSE so package "SFML" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "D:/cs4300/a2/cmake-build-debug/CMakeFiles/CMakeOutput.log".
find_package(SFML 3 COMPONENTS system window network graphics audio REQUIRED)
list(APPEND THIRD_PARTY_LIBS sfml-system)
list(APPEND THIRD_PARTY_LIBS sfml-window)
list(APPEND THIRD_PARTY_LIBS sfml-network)
list(APPEND THIRD_PARTY_LIBS sfml-graphics)
list(APPEND THIRD_PARTY_LIBS sfml-audio)
add_executable(sfml_game main.cpp ..others..)
target_link_libraries(sfml_game PRIVATE ${THIRD_PARTY_LIBS})
mkdir SFML-build
cd SFML-build
cmake -GNinja ..\SFML-master
ninja all
cmake --install . --prefix ..\SFML-install