Awesome, thanks a lot for your help. It worked!
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.
Show posts MenuCMakeLists.txtset(TGUI_BACKEND SFML_GRAPHICS)
find_package(SFML 2.5 COMPONENTS graphics REQUIRED)
find_package(TGUI 0.10 REQUIRED)
cmake -S . -B build-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SFML 2.5.1 in /usr/lib/x86_64-linux-gnu/cmake/SFML
-- Found SFML 2.5.1 in /usr/lib/x86_64-linux-gnu/cmake/SFML
CMake Error at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Could not find a package configuration file provided by "glfw3" with any of
the following names:
glfw3Config.cmake
glfw3-config.cmake
Add the installation prefix of "glfw3" to CMAKE_PREFIX_PATH or set
"glfw3_DIR" to a directory containing one of the above files. If "glfw3"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/TGUI/TGUIConfig.cmake:113 (find_dependency)
CMakeLists.txt:30 (find_package)