Coder Social home page Coder Social logo

Comments (6)

ba58smith avatar ba58smith commented on May 30, 2024

Can you provide more of the error message, please? Not the entire output of the build, but the whole "paragraph" with this error in it, showing all of the files that are involved in the error. Similar to this:

In file included from .pio/libdeps/d1_mini/ReactESP_ID2965/src/ReactESP.cpp:3:0:
/home/butch/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/FunctionalInterrupt.h:32:28: warning: 'scheduledInterrupts' defined but not used [-Wunused-variable]
 static ScheduledFunctions* scheduledInterrupts;

from sensesp.

LuisColling avatar LuisColling commented on May 30, 2024

Sorry Brian...I am still struggling. Decided to recreate project and now other error popped up.

In file included from .pio\libdeps\d1_mini\SensESP\src/sensors/sensor.h:6:0,
from .pio\libdeps\d1_mini\SensESP\src/sensesp_app.h:7,
from src\main.cpp:2:
.pio\libdeps\d1_mini\SensESP\src/system/configurable.h:7:25: fatal error: ArduinoJson.h: No such file or directory

from sensesp.

LuisColling avatar LuisColling commented on May 30, 2024

The main difference from first project error to last error is the platformio.ini file.

Last error ini:

[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
lib_deps =
https://github.com/SignalK/SensESP.git

For the RANDOM_REG32 the ini was like that:

[env:wemos_d1_mini32]
platform = espressif32
board = wemos_d1_mini32
framework = arduino
lib_deps =
https://github.com/SignalK/SensESP.git

from sensesp.

ba58smith avatar ba58smith commented on May 30, 2024

Luis, here's my platformio.ini:

[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 115200
board_build.f_cpu = 160000000L
upload_resetmethod = nodemcu
build_flags =
   -Wl,-Teagle.flash.4m1m.ld
   -Wall
   -Wno-reorder
upload_protocol = espota   
upload_port = 192.168.1.168

upload_speed = 460800
lib_deps =
   https://github.com/SignalK/SensESP.git
   ESP Async WebServer
   ESPAsyncWiFiManager
   ReactESP@^0.2.2
   ArduinoJson@^5.0.0
   https://github.com/JoaoLopesF/RemoteDebug.git#0b5a9c1a49fd2ade0e3cadc3a3707781e819359a
   WebSockets
   DallasTemperature
   ESP8266TrueRandom

Try it with that, and let me know what happens. I think you're missing some libraries, which would definitely cause some problems.

from sensesp.

LuisColling avatar LuisColling commented on May 30, 2024

Moved to my Mac laptop with a fresh install of VSCode and platformIO. Now it is working fine.

Most likely it was some issue with my Windows Laptop and PlatformIO installation on VSCode. Sorry about that.

Will try to reinstall the extension as well as clean the intellisense index later...

Thanks Brian!

from sensesp.

ba58smith avatar ba58smith commented on May 30, 2024

My pleasure. I'm going to close this issue. Don't hesitate to reach out again if you have trouble. I won't always be as responsive (I'm not on my computer very much - you just caught me on a good day), but I'll always try to help.

from sensesp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.