Skip to content

Yet another 1.6.6+ (1.6.6 /1.6.7/1.6.8) issue involving UTFT library.  #4880

Closed
@ghlawrence2000

Description

@ghlawrence2000

I am hoping somebody can get to the bottom of this since I can give you a repeatable situation to work with!

Henning Karlsen's UTFT libraries have been around for a long time and worked flawlessly prior to IDE V 1.6.6. The situation I will describe is based on a Windows 7 x64 OS, with target board Arduino DUE.

Any of the example sketches, or indeed my own sketches using UTFT have the same problem under 1.6.6 or later.

The situation I have is this.... IDE V1.6.5 no problems at all, I can load a sketch (any sketch) which uses UTFT, compile it as many times as I wish without error.

IDE 1.6.6 onwards, I can load a sketch compile a single time without error, make NO changes, and try to compile again, I get an error.
GetFileAttributesEx F:\Arduino\libraries\UTFT\UTFT.cpp F:\Arduino\libraries\UTFT\UTFT.h: The filename, directory name, or volume label syntax is incorrect. Error compiling for board Arduino Due (Native USB Port).

I have figured out how to get round it, but would like to know what is causing it.

With verbose during compilation enabled, I can locate the build folder, through trial and error, I have narrowed it down to \buildfolder\libraries\UTFT\ in this folder there are 4 files.
DefaultFonts.c.d
DefaultFonts.c.o
UTFT.cpp.d
UTFT.cpp.o

If I delete EITHER of the UTFT.cpp files..... compilation is successful, but if those files are both in the build folder, compilation WILL fail with the error previously stated.

Why specifically is UTFT causing this? I can have several Libraries in the build folder.... but the 'fix' remains the same, if I delete UTFT.cpp.d OR UTFT.cpp.O compilation is successful but will fail if BOTH of these files remain in the build folder.

I really hope you can do something about this as I cannot be the only one with this problem, and UTFT is certainly a common/popular library. I am using V2.81 downloaded directly from rinkydinkelectronics If you require any further information please let me know.

Thanks,

Graham

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions