Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML doens't build on raspbian (Cmake module doesn't find Freetype)  (Read 3153 times)

0 Members and 1 Guest are viewing this topic.

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Hi!

I'm trying to build SFML on a rapsberry pi but I got this following error :

Could not find Freetype (missing Freetype include dirs).

I'm sure I've installed Freetype :with this command and it installed well.

apt-get install libfreetype6-dev.




Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Do you know in which directory Freetype was installed?

It looks like that directory is not specified in the CMake find module...
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
Quote
Do you know in which directory Freetype was installed?

In /usr/include

PS : It's strange, there is in the same path than on my ubuntu but it find it well on my ubuntu but not on my raspbian...
« Last Edit: May 19, 2014, 03:31:48 pm by Lolilolight »

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
So I specified the path manually and it works, because it doesn't detected it automatically.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
PS : It's strange, there is in the same path than on my ubuntu but it find it well on my ubuntu but not on my raspbian...
Maybe Raspberry Pi has to be handled specifically by CMake...
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Lolilolight

  • Hero Member
  • *****
  • Posts: 1232
    • View Profile
It seems that there are some files which are missing in their repo.

 fatal error : ft2build.h no such file or directory ...

I think I'll have to upload them manually.