TallyArbiter icon indicating copy to clipboard operation
TallyArbiter copied to clipboard

[Bug]: esp32-neopixel-listener - installation - Preferences.h missing

Open rgm607 opened this issue 2 years ago • 5 comments

What happened?

When installation the esp32-neopixel-listener over arduino IDE and do the instructions as described, the compiler will result in an error, because the #include <Preferences.h> is missing (no such file or directory)

Where should we get that one

pre-build version wouldn't help me, because we are using APA102 leds, so we would need to adopt the code, but first we would like to compile the code without any problems

Version

20.11.2021

Distribution

Desktop

OS

Windows

What browsers are you seeing the problem on?

Chrome

If applicable, What Listener Clients are You Using?

No response

TallyArbiter configuration

{
 "externalAddress": "http://0.0.0.0:4455/#/tally",
 "security": {
  "username_settings": "admin",
  "password_settings": "12345",
  "username_producer": "producer",
  "password_producer": "12345"
 },
 "sources": [],
 "devices": [
  {
   "tslAddress": 2,
   "name": "Cam2",
   "enabled": true,
   "id": "5276b548"
  },
  {
   "name": "Cam3",
   "tslAddress": 3,
   "enabled": true,
   "id": "30d37075"
  },
  {
   "name": "Cam4",
   "tslAddress": 4,
   "enabled": true,
   "id": "67c6a0ba"
  },
  {
   "name": "Cam5",
   "tslAddress": 5,
   "enabled": true,
   "id": "4ad7fef8"
  },
  {
   "name": "Cam6",
   "tslAddress": 6,
   "enabled": true,
   "id": "54bd0e31"
  },
  {
   "name": "Cam7",
   "tslAddress": 7,
   "enabled": true,
   "id": "45266fc2"
  },
  {
   "name": "Cam8",
   "tslAddress": 8,
   "enabled": true,
   "id": "f556e00f",
   "linkedPreview": false,
   "linkedProgram": false
  }
 ],
 "device_sources": [],
 "device_actions": [],
 "tsl_clients": [],
 "tsl_clients_1secupdate": false,
 "cloud_destinations": [],
 "cloud_keys": []
}

Relevant log output

No response

Error stacktrace (if applicable)

Arduino: 1.8.15 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















esp32-neopixel-listener:9:10: fatal error: Preferences.h: No such file or directory

    9 | #include <Preferences.h>

      |          ^~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Preferences.h: No such file or directory



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

rgm607 avatar Mar 12 '22 21:03 rgm607

Hello there rgm607 👋

Welcome to TallyArbiter!

Thank you for opening your first issue for the Tally Arbiter project. TallyArbiter fosters an open and welcoming environment for all our contributors. Please adhere to our Code Of Conduct.

Incase you want to claim this issue, please comment down below! We will try to get back to you as soon as we can.

Feel free to contact the author or for any other information, please visit www.techministry.blog. We would love to hear your interesting ideas and engage in discussions.

github-actions[bot] avatar Mar 12 '22 21:03 github-actions[bot]

Have you gone into the library manager and installed preferences?

JTF4 avatar Mar 12 '22 21:03 JTF4

It wasn't mentioned, but i also can't find something like that in the libary manager! image

rgm607 avatar Mar 13 '22 09:03 rgm607

My mistake. The preferences file should be included with the Arduino IDE.

You may need to try reinstalling the Arduino software and see if that gets the file back. Worst case, you can grab it from GitHub and drop it in the libraries file for Arduino, but I would try reinstalling first.

JTF4 avatar Mar 13 '22 15:03 JTF4

@rgm607 have you made any progress with this?

JTF4 avatar Mar 18 '22 03:03 JTF4