I am trying to build Cocos2d-x project in Codeblocks IDE in Ubuntu 14. I got fontconfig/fontconfig.h
not found error during compiling. I'm stuck here. How can I solve this?
Asked
Active
Viewed 1.0k times
13
-
Same error appeared when installing `install.packages("httpgd")` in R – Elijas Dapšauskas Nov 14 '22 at 14:20
1 Answers
34
The problem is that you are missing the package libfontconfig1-dev
. From the command line run the following command:
sudo apt-get install libfontconfig1-dev
Or else use Software Centre and search for the package, if you prefer the graphical approach.

Ken Y-N
- 14,644
- 21
- 71
- 114