Go Down

Topic: error de compilado. (Read 120 times) previous topic - next topic

Franjcabanillas

Jan 18, 2020, 11:04 am Last Edit: Jan 18, 2020, 05:13 pm by surbyte Reason: Agregado de etiqueta para códigos/errores
Hola, he hecho un simple sketch con un dht11, he instalado la librería y me da el siguiente error al subir el programa:
Code: [Select]
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(0x130de5a0, 0x1305838a, 0x5, 0x1305838a)
/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(0x130de5a0, 0x130360e0, 0x88ed00, 0x1308fbf0, 0x13276088, 0x13268000, 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, 0x130de5a0, 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(0x130de5a0, 0x13035e1c, 0x20, 0x20, 0x409a01, 0x7fff, 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(0x13071f40, 0x130de5a0, 0xdebbb4, 0x13042c88)
/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
C:\Program Files (x86)\Arduino\arduino-builder retornó 2
Error compilando para la tarjeta Arduino Uno.



Alguien sabe que puede pasar?

gracias.

surbyte

Lee las normas del foro y observa como deben publicarse errores y códigos.

Go Up