FS#35743 - Wrong path of freetype2 header file ft2build.h
Attached to Project:
Arch Linux
Opened by WangQu (chu887) - Monday, 10 June 2013, 06:20 GMT
Last edited by Jan de Groot (JGC) - Monday, 10 June 2013, 12:37 GMT
Opened by WangQu (chu887) - Monday, 10 June 2013, 06:20 GMT
Last edited by Jan de Groot (JGC) - Monday, 10 June 2013, 12:37 GMT
|
Details
Description:
The 56th line of header file /usr/include/ft2build.h : #include <freetype/config/ftheader.h> , The "right" path should be <freetype2/freetype/config/ftheader.h>,but it would cause a series of problems such as "can't find file ...", which means quite a lot of path should be modified if using this "right" path. So, the simplest way to solve this bug,just move the directory /usr/include/freetype2/freetype to it's parent direcotry /usr/include/freetype, then delete the direcotry /usr/include/freetype2 . When I compile the dwm WM, I encountered problem: can't find header file ... then I moved /usr/include/freeytpe2/freetype to /usr/include/freetype, solved this problem successfully. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Comment by WangQu (chu887) -
Monday, 10 June 2013, 06:30 GMT
package version:extra/freetype2 2.4.12-1
Comment by Jan de Groot (JGC) -
Monday, 10 June 2013, 09:09 GMT
No. You should use pkg-config to retrieve the CFLAGS needed to
build software against freetype.