0

GFX.h / ft2build.h file required but not found
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

GFX.h / ft2build.h file required but not found

by hose on Sun Feb 11, 2018 9:43 pm

Environment: WinXP host, IDE v1.8.4, FeatherM0 & SSD1306 OLED target.

Problem: Compile fails with Arduino: 1.8.4 (Windows XP), Board: "Adafruit Feather M0"
---------------------------- code ---------------------------------------------------
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_GFX.h>
Adafruit_SSD1306 display = Adafruit_SSD1306();
...
...
----------------Error message ---------------------------------------------------------------
C:\Arduino-1.8.4_AMD\portable\sketchbook\libraries\Adafruit_GFX\fontconvert.c:23:22: fatal error: ft2build.h: No such file or directory
#include <ft2build.h>
^
exit status 1
------------------------------------------------------------
I'm unable to compile anything that utilizes the GFX library. I'm aware that 'ft2build' within 'fontconvert.c' is not compiled by the Arduino IDE. OK, but how do I get around the problem within the Win environment? Thank you. -Jim

hose
 
Posts: 3
Joined: Wed Aug 23, 2017 5:13 pm

Re: GFX.h / ft2build.h file required but not found

by hose on Wed Feb 14, 2018 2:23 am

I posted the problem but it's fixed by completely uninstalling the Arduino IDE and re-installing it.
Don't really know what the problem was but we're good now. Thanks.

hose
 
Posts: 3
Joined: Wed Aug 23, 2017 5:13 pm

Please be positive and constructive with your questions and comments.