I wonder if anyone else has had this problem. Installed Arduino IDE on both Windows 7 and Linux Mint. Works in both OSs. BUT some sketches fail. This one in particular dealing with touchscreen. Works fine in Windows, but has errors in Linux. Posting errors here. In file included from /home/sjp/Arduino/libraries/TFTLCD-Library-master/Adafruit_TFTLCD.cpp:19:0:
/home/sjp/Arduino/libraries/TFTLCD-Library-master/pin_magic.h:282:33: warning: backslash and newline separated by space
#define read8inline(result) { \
^
/home/sjp/Arduino/libraries/TFTLCD-Library-master/Adafruit_TFTLCD.cpp:803:0: warning: "read8" redefined
#define read8(x) x=read8fn()
^
In file included from /home/sjp/Arduino/libraries/TFTLCD-Library-master/Adafruit_TFTLCD.cpp:19:0:
/home/sjp/Arduino/libraries/TFTLCD-Library-master/pin_magic.h:183:0: note: this is the location of the previous definition
#define read8 read8inline
^
/home/sjp/Arduino/libraries/TFTLCD-Library-master/Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::begin(uint16_t)':
/home/sjp/Arduino/libraries/TFTLCD-Library-master/pin_magic.h:401:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
hi = (d) >> 8; lo = (d); CD_DATA ; write8(hi); write8(lo); }
^
/home/sjp/Arduino/libraries/TFTLCD-Library-master/pin_magic.h:187:29: note: in expansion of macro 'writeRegister16inline'
#define writeRegister16 writeRegister16inline
^
/home/sjp/Arduino/libraries/TFTLCD-Library-master/Adafruit_TFTLCD.cpp:283:5: note: in expansion of macro 'writeRegister16'
writeRegister16(ILI9341_VCOMCONTROL1, 0x2B2B);
Not sure what is going on. I have the same libraries installed on both, using the exact same sketch in both. These errors only occur in Linux. Any ideas would be greatly appreciated.