adds missing freetype2/ include path for gcc build #653
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Building with gcc fails due to missing the freetype2 include path in
build.sh, which is already available in theclang_commonvar.This fix adds "-I/usr/include/freetype2
to thegcc_common` var, enabled a successful build.The error is:
$ build.sh gcc raddbg ... In file included from ../src/eval/eval_inc.h:7, from ../src/raddbg/raddbg_main.c:254: ../src/eval/eval_core.h:1215:1: warning: multi-line comment [-Wcomment] 1215 | // / / | \ | ^ In file included from ../src/font_provider/font_provider_inc.h:35, from ../src/raddbg/raddbg_main.c:257: ../src/font_provider/freetype/font_provider_freetype.h:11:10: fatal error: ft2build.h: No such file or dir 11 | #include <ft2build.h> | ^~~~~~~~~~~~ compilation terminated.With the fix, the build is successful.