fontconfig/fontconfig.h not found in Codeblocks

11.6k Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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.