Andy's Workshop Forums

General Category => General discussion => Topic started by: quarterturn on July 07, 2015, 09:34:10 pm

Title: XMEM TFT Library Arduino 1.6.4 compile error
Post by: quarterturn on July 07, 2015, 09:34:10 pm
Looks like Arduino 1.6.4 gcc has an issue linking inline assembler code in the libraries. It's acting like it can't find the files when they're exactly where they say they aren't:

/var/folders/rk/gfzqk2kd3_bfxvg0cfk3fdg40000gn/T//cc9EkXag.s: Assembler messages:
/var/folders/rk/gfzqk2kd3_bfxvg0cfk3fdg40000gn/T//cc9EkXag.s:37: Error: file not found: libraries/xmemtft/examples/ILI9325/GraphicsLibraryDemo/cloud100x100.bin
/var/folders/rk/gfzqk2kd3_bfxvg0cfk3fdg40000gn/T//cc9EkXag.s:41: Error: file not found: libraries/xmemtft/examples/ILI9325/TrueType/logo.lzg
/var/folders/rk/gfzqk2kd3_bfxvg0cfk3fdg40000gn/T//cc9EkXag.s:45: Error: file not found: libraries/xmemtft/examples/ILI9325/GraphicsLibraryDemo/globe.lzg
Error compiling.

This is from compiling GraphicsLibraryDemo.ino for ILI9325. The board selected is an Adruino Mega 2560.

UTFT library works fine, but it's huge and probably not as fast. Any ideas?
Title: Re: XMEM TFT Library Arduino 1.6.4 compile error
Post by: Andy Brown on July 09, 2015, 06:57:21 am
The new Arduino IDE releases are throwing up quite a few compatibility issues that I need to investigate. If you don't need the facilities of the new IDE then the older 1.0.x versions are compatible.
Title: Re: XMEM TFT Library Arduino 1.6.4 compile error
Post by: quarterturn on July 09, 2015, 04:39:59 pm
I get the same error from 1.0.6. Do I need to go older than that?
Title: Re: XMEM TFT Library Arduino 1.6.4 compile error
Post by: quarterturn on July 15, 2015, 11:00:33 am
Here's the error on compiling under 1.0.6:
C:\Users\xxxxxxxx\AppData\Local\Temp/cc2kgYOK.s: Assembler messages:
C:\Users\xxxxxxxx\AppData\Local\Temp/cc2kgYOK.s:40: Error: file not found: libraries/xmemtft/examples/ILI9325/GraphicsLibraryDemo/cloud100x100.bin
C:\Users\xxxxxxxx\AppData\Local\Temp/cc2kgYOK.s:44: Error: file not found: libraries/xmemtft/examples/ILI9325/TrueType/logo.lzg
C:\Users\xxxxxxxx\AppData\Local\Temp/cc2kgYOK.s:48: Error: file not found: libraries/xmemtft/examples/ILI9325/GraphicsLibraryDemo/globe.lzg

Oh well. I am going to look through your code and try to find what you're doing for hardware scrolling. That's really the piece that I need.