Bonjour tout le monde, je viens vers vous car j'ai une erreur, j'essaie de compiler un projet utilisant la sfml (sur un Raspberry pi3) mais cmake ne parvient pas à trouver le package, j'ai ceci:
CMake Error at CMakeLists.txt:26 (find_package):
By not providing "FindSFML.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SFML", but
CMake did not find one.
Could not find a package configuration file provided by "SFML" (requested
version 2) with any of the following names:
SFMLConfig.cmake
sfml-config.cmake
Add the installation prefix of "SFML" to CMAKE_PREFIX_PATH or set
"SFML_DIR" to a directory containing one of the above files. If "SFML"
provides a separate development package or SDK, be sure it has been
installed.
Pour compiler sfml j'ai suivit ce tuto:
https://github.com/mickelson/sfml-pi (https://github.com/mickelson/sfml-pi)
donc j'ai fait un "git clone https://github.com/mickelson/sfml-pi" et j'ai suivit à la lettre le tuto, j'ai même tenté de définir CMAKE_MODULE_PATH et le SFML_DIR mais rien n'y fait, par contre cmake trouve bien -lsfml-graphics etc...
Merci de votre aide