Closed Jack77777777 closed 2 years ago
WHen i look in src/main.cpp i see many "errors". I think this is something with include pathes but can´t find a solution. Hoepfully someone can help me.
No one any idea? Is this because i have nbo wemos attasched to the pc. I am waiting for my order to be delivered and wantedt to build in the meantime for the use with 3 heads.
Hey @Jack77777777 ,
can you paste the contents of the platformio.ini?
@mruettgers thank you for the response. platformio.ini: `; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library storages ; Advanced options: extra scripting ; ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html
[common] platform = espressif8266@2.3.1 lib_deps = git+https://github.com/volkszaehler/libsml EspSoftwareSerial MicroDebug IotWebConf@^2.3.3 ESPAsyncTCP git+https://github.com/philbowles/PangolinMQTT.git#v1.0.0 jled
env_default = d1_mini build_flags = -DIOTWEBCONF_PASSWORD_LEN=65 lib_ldf_mode = deep+
[env:d1_mini] platform = ${common.platform} board = d1_mini framework = arduino lib_deps = ${common.lib_deps} lib_ldf_mode = ${common.lib_ldf_mode} build_flags = ${common.build_flags} -DSERIAL_DEBUG=false monitor_speed = 115200
[env:d1_mini_debug] platform = ${common.platform} board = d1_mini framework = arduino lib_deps = ${common.lib_deps} lib_ldf_mode = ${common.lib_ldf_mode} build_flags = ${common.build_flags} -DSERIAL_DEBUG=true -DSERIAL_DEBUG_VERBOSE=false monitor_speed = 115200
[env:d1_mini_dev] platform = ${common.platform} board = d1_mini framework = arduino lib_deps = ${common.lib_deps} lib_ldf_mode = ${common.lib_ldf_mode} build_flags = ${common.build_flags} -DSERIAL_DEBUG=true -DSERIAL_DEBUG_VERBOSE=true upload_port = /dev/ttyUSB0 monitor_port = /dev/ttyUSB0 monitor_speed = 115200 `
Hm, looks ok. I'll try to do a fresh build later this evening.
@mruettgers All right. I am here for testing.
Danke
Is this the reason for my issue?
My screenshots above are from a fresh vs code install on another pc. However, after clicking on platformio icon on the left menu it showed "PlatformIO: Rebuilding IntelliSense Index". After a while i could compile successfull.
It shows me many problems but as it was compiled successfull i assume i can ignore this ?
Most warnings are generated by the third-party library "PangolinMQTT". However, this should not be a problem. Nevertheless, I replaced PangolinMQTT with another library in the develop branch and the branch needs some testers anyway. So feel free to test ;-). The version in the develop branch also fixes an issue with reconnecting after WiFi loss.
Just comliped develop d888efc with only 2 problems ;)
I think my issue was that i installed the system version of VS Code. With the User Version it is working on the other PC now as well.
When i try to build i get the below error and don´t know how to fix it because the file is not present.