Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
uttham29 opened this issue Sep 26, 2019 · 4 comments
Open

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

uttham29 opened this issue Sep 26, 2019 · 4 comments

Comments

@uttham29
Copy link

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

@janreggie
Copy link

janreggie commented Nov 21, 2020

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
Copy link

Okay I got it to work using this French post.

./configure CPPFLAGS="-I/usr/include/freetype2"
make

@Luiz22-br
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants