• Welcome to Andy's Workshop Forums. Please login or sign up.
 
March 29, 2024, 12:36:44 am

News:

SMF - Just Installed!


XMEM TFT Library Arduino 1.6.4 compile error

Started by quarterturn, July 07, 2015, 09:34:10 pm

Previous topic - Next topic

quarterturn

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?

Andy Brown

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.
It's worse than that, it's physics Jim!

quarterturn

I get the same error from 1.0.6. Do I need to go older than that?

quarterturn

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.