Read more about freetype here. for ubuntu sudo apt-get install libfreetype6-dev sudo apt-get install gcc-multilib g++-multilib