bonjour, je viens vers vous pour vous demander un coup de main pour ma compilation du LiteRGSS2 sur rpi3, j'ai compiler ma sfml en suivant ce tuto:
https://github.com/mickelson/sfml-pi
j'ai ensuite installer ruby 3.0.2 avec rbenv, ainsi que cmake 3.17.3, j'ai installer les gems rake rake-compiler, j'ai cloné le litergss2 avec cette commande:
git clone https://gitlab.com/pokemonsdk/litergss2.git
mais au moment ou je fait : rake configure j'obtient ça:
checking for cmake... yes
checking for make... yes
checking for cc... yes
checking for c++... yes
SFML check in SFML_DIR (/home/pi/Desktop/sfml-pi/build/lib)
checking for -lsfml-graphics... yes
checking for -lsfml-window... yes
checking for -lsfml-system... yes
Cleaning LiteCGSS in /home/pi/Desktop/litergss2/external/litecgss...
Building LiteCGSS in /home/pi/Desktop/litergss2/external/litecgss...
-- The CXX compiler identification is GNU 6.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
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.
-- Configuring incomplete, errors occurred!
See also "/home/pi/Desktop/litergss2/external/litecgss/CMakeFiles/CMakeOutput.log".
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
rake aborted!
[LiteCGSS] Build failed
/home/pi/Desktop/litergss2/external/litecgss/Rakefile:59:in `block (2 levels) in <top (required)>'
/home/pi/Desktop/litergss2/external/litecgss/Rakefile:57:in `chdir'
/home/pi/Desktop/litergss2/external/litecgss/Rakefile:57:in `block in <top (required)>'
Tasks: TOP => compile
(See full trace by running task with --trace)
ln: impossible de créer le lien symbolique '/usr/lib/*.so*': Permission non accordée
checking for -lLiteCGSS_engine... no
rake aborted!
Unable to find LiteCGSS library. Clean everything and try again.
/home/pi/Desktop/litergss2/Rakefile:39:in `block (2 levels) in <top (required)>'
/home/pi/Desktop/litergss2/Rakefile:32:in `chdir'
/home/pi/Desktop/litergss2/Rakefile:32:in `block in <top (required)>'
Tasks: TOP => configure
(See full trace by running task with --trace)
Pourtant le CMAKE_MODULE_PATH pointe bien sur mon FindSFML.cmake
Merci infiniment pour votre aide