Go Down

Topic: [SOLVED] Compilation error for HX8347D library (Read 128 times) previous topic - next topic

Wally06

Jan 28, 2020, 09:41 am Last Edit: Jan 28, 2020, 10:00 am by Wally06
Hello,
I downloaded the lib available on the RobotShop site

When I compile for Arduino the example codes like DrawGraphic.ino using the HX8347D library, I have the following errors:

Arduino : 1.8.10 (Windows 10), Carte : "Arduino/Genuino Uno"

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7855fb]

goroutine 1 [running]:
github.com/arduino/arduino-cli/legacy/builder.ResolveLibrary(0x120d05a0, 0x1209c577, 0x5, 0x1209c577)
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-cli/legacy/builder/resolve_library.go:64 +0x14b
github.com/arduino/arduino-cli/legacy/builder.findIncludesUntilDone(0x120d05a0, 0x123b0a00, 0x88ed00, 0x121ec810, 0x123de7c8, 0x123f2100, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-cli/legacy/builder/container_find_includes.go:358 +0x3b6
github.com/arduino/arduino-cli/legacy/builder.(*ContainerFindIncludes).Run(0xdebc68, 0x120d05a0, 0xdebc68, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-cli/legacy/builder/container_find_includes.go:152 +0x3e5
github.com/arduino/arduino-cli/legacy/builder.runCommands(0x120d05a0, 0x12063e1c, 0x20, 0x20, 0x409a01, 0x1fff, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-cli/legacy/builder/builder.go:210 +0xbd
github.com/arduino/arduino-cli/legacy/builder.(*Builder).Run(0x1206ff40, 0x120d05a0, 0xdebbb4, 0x12006c98)
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-cli/legacy/builder/builder.go:117 +0xb9c
github.com/arduino/arduino-cli/legacy/builder.RunBuilder(...)
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-cli/legacy/builder/builder.go:226
main.main()
/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/src/github.com/arduino/arduino-builder/main.go:398 +0x6d2

Is it because my Arduino IDE version?

pert

Hi @Wally06. I believe this is a bug specific to Arduino IDE 1.8.10. Please try the newly released Arduino IDE 1.8.11 to see if they have fixed the bug.
https://www.arduino.cc/en/Main/Software

Wally06


Wally06

#3
Jan 28, 2020, 10:10 am Last Edit: Jan 28, 2020, 10:21 am by Wally06
It compiles but I noticed my screen needs a slighlty different driver, is somebody knows where I can get the library for HX8347i?

EDIT: I give up, I read nobody found it... So many versions of that screen, it's crazy!

david_prentice

Go on.   Post a link to the actual Shield that you have bought.

Then readers could suggest an appropriate library.
Build the library examples.
And even compile your project.

David.

Go Up