PlatformIO Community

Library references

Hi

I have a brand new computer. Installed everything needed for ESP32 with Platformio.

Pulled down my code from Git and pressed build.

Red all over the screen.

I understand that this is a library problem so I started to pull down libraries.

Still a lot of errors…

On the old computer I can build the application with no problem.

Is there a way to see wich libraries and version used during build. I would like to take this information to the new computer.

Yes, during a normal, but better a verbose build, all libraries are seen in the library dependency graph section. See Project Task “Avanced → Verbose Build”.

The big advantage of PlatformIO projects over the Arduino IDE is that libraries no longer need to be installed globally but just declared in the platformio.ini file. If this feature is used, you can easily share your project with other people and it will build without errors. And the same would hold if you move to a new computer.

Your project most likely still relies on globally installed libraries. Now is the time to make change:

  • Check the library dependency graph (as mentioned by @maxgerhardt)
  • Add the listed top level libraries to lib_deps in platformio.ini
  • Do NOT download an libraries manually and do NOT install libraries globally

Make the move to the PlatformIO way now. (The same approach is used by modern Java, .NET and Javascript projects.)

Ahh … seems my project is completly messed up …

This is what I am trying to do.

I have written a application in PlatformIO style. This application consist of a number of functions (modules).

Some of the modules is kind of complicated so I, for various resons, wamt to test them separatly in real hardvare.

For each test I have written a small application, in PlatformIo style, that uses one of the modules from the other application.

So, my problems seems to have how my test application is linked to main application. Can you help out here ?

This is how my .ini file looks for the test application

[env:esp32Dev-Serial]
framework = arduino
platform = espressif32
board = ESP32dev
lib_ldf_mode = chain+
lib_extra_dirs = 
 ${PROJECT_DIR}/../../lib
build_flags = 
    -I${PROJECT_DIR}/../../include
    -I${PROJECT_DIR}/../../lib
    -DCORE_DEBUG_LEVEL=5
    -DshortCircutOfBLE=true
monitor_speed = 115200
lib_deps =
    arduino-libraries/ESP32 BLE Arduino@ ^1.0.1
    marvinroger/AsyncMqttClient@0.8.2
    me-no-dev/AsyncTCP @ 1.1.1
    wifi
    spi

So… what’s the error message? What does the verbose dependency graph look like on the working and non-working setup? Hard to say anything about it otherwise.

This is working:

 Processing ESP32devKitC (platform: espressif32; board: ESP32dev; framework: arduino; board_build.partitions: default_8MB.csv; build_flags: -I${PROJECT_DIR}/include, -DCORE_DEBUG_LEVEL=3, -fexceptions, -DshortCircutOfBLE=true; lib_ldf_mode: chain+; monitor_speed: 115200)
--------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ESP32dev.html
PLATFORM: Espressif 32 (3.3.1) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 3.10006.210326 (1.0.6) 
 - tool-esptoolpy 1.30100.210531 (3.1.0) 
 - toolchain-xtensa32 2.50200.97 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 44 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <led> (C:\hostedProjects\conius-psm\mdcb\lib\led)
|-- <button> (C:\hostedProjects\conius-psm\mdcb\lib\button)
|-- <wrappers> (C:\hostedProjects\conius-psm\mdcb\lib\wrappers)
|   |-- <Preferences> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Preferences)
|   |-- <ESP32 BLE Arduino> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\BLE)
|   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|-- <Preferences> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Preferences)
|-- <run_modes> (C:\hostedProjects\conius-psm\mdcb\lib\run_modes)
|   |-- <led> (C:\hostedProjects\conius-psm\mdcb\lib\led)
|   |-- <button> (C:\hostedProjects\conius-psm\mdcb\lib\button)
|   |-- <wrappers> (C:\hostedProjects\conius-psm\mdcb\lib\wrappers)
|   |   |-- <Preferences> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Preferences)
|   |   |-- <ESP32 BLE Arduino> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\BLE)
|   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |-- <Preferences> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Preferences)
|   |-- <mdb> (C:\hostedProjects\conius-psm\mdcb\lib\mdb)
|   |   |-- <Wire> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Wire)
|   |-- <Wire> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Wire)
|   |-- <ESP32 BLE Arduino> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\BLE)
|   |-- <network> (C:\hostedProjects\conius-psm\mdcb\lib\network)
|   |   |-- <wrappers> (C:\hostedProjects\conius-psm\mdcb\lib\wrappers)
|   |   |   |-- <Preferences> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Preferences)
|   |   |   |-- <ESP32 BLE Arduino> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\BLE)
|   |   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |   |-- <mqtt> (C:\hostedProjects\conius-psm\mdcb\lib\mqtt)
|   |   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |   |   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |-- <mqtt> (C:\hostedProjects\conius-psm\mdcb\lib\mqtt)
|   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|-- <mdb> (C:\hostedProjects\conius-psm\mdcb\lib\mdb)
|   |-- <Wire> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Wire)
|-- <Wire> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Wire)
|-- <ESP32 BLE Arduino> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\BLE)
|-- <network> (C:\hostedProjects\conius-psm\mdcb\lib\network)
|   |-- <wrappers> (C:\hostedProjects\conius-psm\mdcb\lib\wrappers)
|   |   |-- <Preferences> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\Preferences)
|   |   |-- <ESP32 BLE Arduino> 1.0.1 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\BLE)
|   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |-- <mqtt> (C:\hostedProjects\conius-psm\mdcb\lib\mqtt)
|   |   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|-- <mqtt> (C:\hostedProjects\conius-psm\mdcb\lib\mqtt)
|   |-- <WiFi> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\WiFi)
|   |-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncMqttClient)
|   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
|-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\.pio\libdeps\ESP32devKitC\AsyncTCP)
Building in release mode
<lambda>(["checkprogsize"], [".pio\build\ESP32devKitC\firmware.elf"])
MethodWrapper(["checkprogsize"], [".pio\build\ESP32devKitC\firmware.elf"])
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [==        ]  20.1% (used 65952 bytes from 327680 bytes)
Flash: [=====     ]  48.2% (used 1609842 bytes from 3342336 bytes)
.pio\build\ESP32devKitC\firmware.elf  :

This goues wrong somwhere…

Processing esp32Dev-Serial (framework: arduino; platform: espressif32; board: ESP32dev; lib_ldf_mode: chain+; lib_extra_dirs: ${PROJECT_DIR}/../../lib; build_flags: -I${PROJECT_DIR}/../../include, -I${PROJECT_DIR}/../../lib, -DCORE_DEBUG_LEVEL=5, -DshortCircutOfBLE=true; monitor_speed: 115200; lib_deps: arduino-libraries/ESP32 BLE Arduino@ ^1.0.1, marvinroger/AsyncMqttClient@0.8.2, me-no-dev/AsyncTCP @ 1.1.1, wifi, spi)
--------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ESP32dev.html
PLATFORM: Espressif 32 (3.3.1) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 3.10006.210326 (1.0.6) 
 - tool-esptoolpy 1.30100.210531 (3.1.0) 
 - toolchain-xtensa32 2.50200.97 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Library Manager: Installing arduino-libraries/ESP32 BLE Arduino @ ^1.0.1
Library Manager: Already installed, built-in library
Found 46 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <AsyncMqttClient> 0.8.2 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\AsyncMqttClient)
|   |-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\AsyncTCP)
|-- <AsyncTCP> 1.1.1 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\AsyncTCP)
|-- <WiFi> 1.2.7 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\WiFi)
|   |-- <SPI> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\SPI)
|-- <SPI> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\SPI)
|-- <wrappers> (C:\hostedProjects\conius-psm\mdcb\lib\wrappers)
|   |-- <ESP32 BLE Arduino> 1.0.1 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\ESP32 BLE Arduino)
|   |-- <WiFi> 1.2.7 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\WiFi)
|   |   |-- <SPI> 1.0 (C:\Users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\SPI)
|-- <ESP32 BLE Arduino> 1.0.1 (C:\hostedProjects\conius-psm\mdcb\integration_test\ble\.pio\libdeps\esp32Dev-Serial\ESP32 BLE Arduino)
Building in release mode
xtensa-esp32-elf-g++ -o .pio\build\esp32Dev-Serial\lib1ac\wrappers\wifi_wrapper.cpp.o -c -fno-rtti -fno-exceptions -std=gnu++11 -Os -g3 -Wall -nostdlib -Wpointer-arith -Wno-error=unused-but-set-variable -Wno-error=unused-variable -mlongcalls -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wno-error=deprecated-declarations -Wno-error=unused-function -Wno-unused-parameter -Wno-sign-compare -fstack-protector -fexceptions -Werror=reorder -DPLATFORMIO=50101 -DARDUINO_ESP32_DEV -DCORE_DEBUG_LEVEL=5 -DshortCircutOfBLE=true -DESP32 -DESP_PLATFORM -DF_CPU=240000000L -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DARDUINO=10805 -DARDUINO_ARCH_ESP32 -DARDUINO_VARIANT=\"esp32\" "-DARDUINO_BOARD=\"Espressif ESP32 Dev Module\"" -IC:\hostedProjects\conius-psm\mdcb\lib\wrappers -I.pio\libdeps\esp32Dev-Serial\WiFi\src -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\libraries\SPI\src "-I.pio\libdeps\esp32Dev-Serial\ESP32 BLE Arduino\src" -IC:\hostedProjects\conius-psm\mdcb\include -IC:\hostedProjects\conius-psm\mdcb\lib -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\config -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\app_trace -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\app_update -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\asio -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\bootloader_support -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\bt -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\coap -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\console -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\driver -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\efuse -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp-tls -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp32 -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_adc_cal -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_event -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_http_client -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_http_server -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_https_ota -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_https_server -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_ringbuf -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_websocket_client -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\espcoredump -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\ethernet -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\expat -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\fatfs -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\freemodbus -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\freertos -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\heap -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\idf_test -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\jsmn -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\json -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\libsodium -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\log -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\mbedtls -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\mdns -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\micro-ecc -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\mqtt -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\newlib -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\nghttp -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\nvs_flash -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\openssl -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\protobuf-c -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\protocomm -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\pthread -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\sdmmc -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\smartconfig_ack -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\soc -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\spi_flash -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\spiffs -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\tcp_transport -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\tcpip_adapter -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\ulp -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\unity -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\vfs -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\wear_levelling -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\wifi_provisioning -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\wpa_supplicant -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\xtensa-debug-module -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp-face -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp32-camera -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp-face -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\fb_gfx -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\cores\esp32 -IC:\users\lglin\.platformio\packages\framework-arduinoespressif32\variants\esp32 C:\hostedProjects\conius-psm\mdcb\lib\wrappers\wifi_wrapper.cpp
xtensa-esp32-elf-ar rc .pio\build\esp32Dev-Serial\libFrameworkArduino.a .pio\build\esp32Dev-Serial\FrameworkArduino\Esp.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\FunctionalInterrupt.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\HardwareSerial.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\IPAddress.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\IPv6Address.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\MD5Builder.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\Print.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\Stream.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\StreamString.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\WMath.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\WString.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\base64.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\cbuf.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-adc.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-bt.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-cpu.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-dac.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-gpio.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-i2c.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-ledc.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-log.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-matrix.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-misc.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-psram.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-rmt.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-sigmadelta.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-spi.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-time.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-timer.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-touch.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\esp32-hal-uart.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\libb64\cdecode.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\libb64\cencode.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\main.cpp.o .pio\build\esp32Dev-Serial\FrameworkArduino\stdlib_noniso.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\wiring_pulse.c.o .pio\build\esp32Dev-Serial\FrameworkArduino\wiring_shift.c.o

Can you please provide more and more complete information. Obviously, there are at least two projects involved and you seem to have created your own private libraries that might be shared between projects:

  • Can you provide the platformio.ini files for both projects?
  • Can you tell is in what directory each project is so we can properly interpret the log output.
  • There are no error messages in the posted log output. Can you post the complete build log.
  • Can you describe which libraries are private and in what directory they are? (Likely the libraries led, button, wrappers, run_modes, mdb, network and mqtt.)