xuminic / ezthumb

A video thumbnail generator based on FFMPEG library.
https://sourceforge.net/projects/ezthumb/
GNU General Public License v3.0
38 stars 5 forks source link

fatal error: ft2build.h: No such file or directory #4

Open uttham29 opened 4 years ago

uttham29 commented 4 years ago

i am getting this error, after make can you help resolve this

janreggie commented 3 years ago

Same here, even after installing libfreetype6-dev and libfreetype-dev in Ubuntu 20.04.

- - output truncated - -
gcc -DHAVE_CONFIG_H -DCFG_GUI_OFF -I.   -I./external/libcsoup -I./external/iup/include     -I/usr/include/ffmpeg  -Wall -Wextra -O4 -c id_lookup.c
gcc -DHAVE_CONFIG_H -DCFG_GUI_OFF -I.   -I./external/libcsoup -I./external/iup/include     -I/usr/include/ffmpeg  -Wall -Wextra -O4 -c ezutil.c
gcc -DHAVE_CONFIG_H -DCFG_GUI_OFF -I.   -I./external/libcsoup -I./external/iup/include     -I/usr/include/ffmpeg  -Wall -Wextra -O4 -c ezttf.c
ezttf.c:68:10: fatal error: ft2build.h: No such file or directory
   68 | #include <ft2build.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:452: ezttf.o] Error 1
janreggie commented 3 years ago

Okay I got it to work using this French post.

./configure CPPFLAGS="-I/usr/include/freetype2"
make
Luiz22-br commented 2 years ago

Me too, I got it trying to make a ps2 game: cd $HOME/open-ps2-loader && make clean && git pull && make rebuild && cd $HOME

jherazob commented 5 months ago

Can confirm that the bug remains at this time and that the proposed solution works, i suspect adding this to the configure thing would solve it for good but have never worked on that