zenoh-pico
zenoh-pico copied to clipboard
[Bug] Issue while building Project in PlatformIO
Describe the bug
I am trying to build one of the "projects/Examples" that is located in the Github Repo. The Libraries needed for this Project are the Zenoh-pico and WiFi library. Whenever i dont put the WiFi library in the Project i Have 2 errors being, that the Projekt doesnt find this Library, which is Normal.... But Whenever I add this Libray to the Project (I tried the WiFININA and WiFi lib) i get 620 or 640 errors. I tried different Methods to add the Libraries, but I always get the Same Error Messages. (Most of the Errors are in a file called type_traits, atomic, and then Macros.h esp32.h move.h and main.ino / main.cpp) ErrorFile!.zip Most of those errors are a problem due to the C linkage. I didnt find any similar issues
Idk if i messed up the Installation or if I forgot a dependency somewhere. I followed the PlatformIO and Zenoh-Pico Installation Guides.
To reproduce
Start VScode Start Project in PlatformIO Add libraries via lib_deps = https://github.com/eclipse-zenoh/zenoh-pico Add the WiFi Library via source into the Lib Folder or git from the Internet Try to build the Project
System info
Platform Ubuntu 22.04 Microcontroller : esp32 - vroom32 (Adafruit Portal Matrix M4) Vscode
Hello @coco-fr, sorry for not replying earlier. Could you send me your platform.ini
and or any other file that I can use to eventually reproduce the issue?
Although we did have linkage issue between C and CPP regarding macros and atomic so potentially it is fixed on the latest version if that were the same errors.