rvt / headtracker

Head Tracker using MPU6050/MPU9250 and ESP8266
BSD 3-Clause "New" or "Revised" License
30 stars 9 forks source link

Failed compiling due to fatal error in jscript.generated.h #3

Closed muhdzakiy24 closed 2 years ago

muhdzakiy24 commented 2 years ago

Hello, I'm still new to VSC and platformIO environment. I was trying to compile this code, but it seems I have hit a roadblock here. Before this, I got an error due to https://github.com/tzapu/WiFiManager#development but this problem is fixed by changing the URL. However, for this case I don't know what to do. Help will be appreciated :)

`> Executing task: C:\Users\skyguardian.platformio\penv\Scripts\platformio.exe run <

Processing wemos (platform: espressif8266; framework: arduino; board: esp01_1m) -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html PLATFORM: Espressif 8266 (3.2.0) > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash PACKAGES:


Terminal will be reused by tasks, press any key to close it. `

rvt commented 2 years ago

Did you run generateHtmlArray.sh ?

muhdzakiy24 commented 2 years ago

Okay I've run the generateHtmlArray.sh now, but now I face other issue

`> Executing task: C:\Users\skyguardian.platformio\penv\Scripts\platformio.exe run <

Processing wemos (platform: espressif8266; framework: arduino; board: esp01_1m) ------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html PLATFORM: Espressif 8266 (3.2.0) > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash PACKAGES:


Do I need to install other dependencies?

muhdzakiy24 commented 2 years ago

UPDATE: I've tried to install the MPU6050, it seems it solve the problem above but now facing a new problem

Executing task: C:\Users\skyguardian.platformio\penv\Scripts\platformio.exe run <

Processing wemos (platform: espressif8266; framework: arduino; board: esp01_1m) ------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html PLATFORM: Espressif 8266 (3.2.0) > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash PACKAGES:


Terminal will be reused by tasks, press any key to close it.

vmasdani commented 2 years ago

I managed to get this working here, had to change some stuff in the code & dependencies https://github.com/rvt/headtracker/pull/4