Closed ciobania closed 2 years ago
There is No $(LIBS).
LIBS = $(DRIVER_LIB) $(JPEG_LIB) $(PNG_LIB)
cc -o demo demo.c fontx.c tft_lib.c $(LIBS) -lwiringPi -lm -lpthread -D$@
https://github.com/nopnop2002/Raspberry-ili9325/blob/master/Makefile#L58
I don't have driver.a, jpeg.a, etc. I am not tech savt with C, so will have to dig deeper to understand where those come from, or what I need to copy, or provide for those libraries to be there.
Thanks
$ cd Raspberry-ili9325
$ ls *.a
driver.a jpeg.a png.a
for 8Bits
$ cc -o demo demo.c fontx.c tft_lib.c driver.a jpeg.a png.a -lwiringPi -lm -lpthread -DILI9341
for 16Bits
$ cc -o demo demo.c fontx.c tft_lib.c driver.a jpeg.a png.a -lwiringPi -lm -lpthread -DILI9341 -DP16BIT
@ciobania If you still have problems, i recommend to do a "git clone".
Hey,
I have managed to use my screen eventually, after I switched to dtoverlays to drive my screen.
Thank you for reply.
ohk
Hello,
I have successfully run the draw and demo binaries, with ILI9341. At least that's what it says my driver is. When I try to compile/build the draw, and demo binaries using:
I get following errors:
Am I missing something, is it still needed if the binaries provided in the repo are working already?
thank you