upm icon indicating copy to clipboard operation
upm copied to clipboard

gfx.h file name clash

Open Propanu opened this issue 9 years ago • 1 comments

Class name clash was resolved during lib build by forcing a local search first, thus we avoided nested namespaces, however file name clash will result in a single header placed under includes on install. That header will be the last one hit and not necessarily the one corresponding to the library you might try to build and link against (ili9341, st7735, ssd1351 all use slightly different versions of this header).

Short term solution: Rename header for each individual library using it as so: $libname_gfx.h Long term solution: Merge header into single file and provide it as part of upm abstract infrastructure.

Propanu avatar Mar 25 '16 22:03 Propanu

Header files have been renamed for now as of v0.6.1.

Propanu avatar Apr 11 '16 22:04 Propanu