cmake can't find libfreetype6-dev >= 2.5
Bug #1417732 reported by
Jools Wills
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
recently freetype6 2.5.x was introduced into Raspbian (currently running 2.5.2-2rpi1rpi1). This has caused a breakage with cmake due to file location changes for headers etc - it is this bug I believe:
https:/
so raspbian will need an update to cmake also, or lots of stuff that uses cmake is going to stop building out of the box - such as emulationstation (the example I have found)
To post a comment you must log in.
Example output when building emulationstation:
-- The C compiler identification is GNU 4.7.2 arm-linux- gnueabihf/ libX11. so;/usr/ lib/arm- linux-gnueabihf /libXext. so arm-linux- gnueabihf/ libX11. so;/usr/ lib/arm- linux-gnueabihf /libXext. so - found arm-linux- gnueabihf/ libX11. so cmake-2. 8/Modules/ FindPackageHand leStandardArgs. cmake:97 (MESSAGE): INCLUDE_ DIRS) share/cmake- 2.8/Modules/ FindPackageHand leStandardArgs. cmake:288 (_FPHSA_ FAILURE_ MESSAGE) share/cmake- 2.8/Modules/ FindFreetype. cmake:106 (FIND_PACKAGE_ HANDLE_ STANDARD_ ARGS)
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- 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
Looking for bcm_host.h
bcm_host.h found
Looking for libMali.so
libMali.so not found
-- Looking for XOpenDisplay in /usr/lib/
-- Looking for XOpenDisplay in /usr/lib/
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/
CMake Error at /usr/share/
Could NOT find Freetype (missing: FREETYPE_
Call Stack (most recent call first):
/usr/
/usr/
CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred!
make: *** No rule to make target 'clean'. Stop.
make: *** No targets specified and no makefile found. Stop
manually downgrading libfreetype6 / libfreetype6-dev to 2.4.9-1.1 fixes the problem.