Bienvenue, Invité. Merci de vous connecter ou de vous inscrire.
Avez-vous perdu votre e-mail d'activation ?

Auteur Sujet: SFML not found package  (Lu 1354 fois)

0 Membres et 1 Invité sur ce sujet

kabu

  • Newbie
  • *
  • Messages: 2
    • Voir le profil
    • E-mail
SFML not found package
« le: Octobre 23, 2021, 02:09:05 pm »
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:
(click to show/hide)

Pour compiler sfml j'ai suivit ce tuto:
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

JaydenSanderson

  • Invité
Re: SFML not found package
« Réponse #1 le: Mai 17, 2023, 02:19:36 pm »
Hello everyone,

I see that you're having an issue with compiling a project using SFML on a Raspberry Pi 3. You followed the tutorial mentioned in your post, cloned the repository, and followed the instructions, but CMake is unable to find the package. However, it seems to find the SFML libraries correctly with -lsfml-graphics, etc.

In this case, I would suggest checking the following:

Ensure that you have all the necessary dependencies installed for SFML on your Raspberry Pi.
Double-check that the cloned SFML repository is in the correct location and accessible by CMake.
Verify that you set the CMAKE_MODULE_PATH and SFML_DIR variables correctly, as mentioned in the tutorial.
If you've already confirmed these steps, it might be helpful to provide more details or any error messages you're encountering, so that the community can assist you further.

Best of luck with your project!