Repository navigation
Conversation
|
@samguyer can you confirm that the esp32 build chain you’re using includes these symbols now as well? |
|
It never seemed to be a problem in the Arduino IDE environment. I have not tested it elsewhere. |
|
this is correct. I guess that original Arduino IDE uses different compiler flags. When I'm trying to build with PlatofmIO, I'm getting this: |
|
This change needs to be gated by whether or not building for arduino vs platformIO then (because the far majority of users are building using the arduino ide - the library biases to building cleanly in there) |
…nity contributions -- thank you!
|
I have the same issue, |
|
@ivankravets Wondering if you can help with this, is PlatformIO using different compiler flags than the Arduino IDE when targeting ESP32? |
|
How to reproduce this issue? I tried PlatformIO and Arduino IDE – the same error: Which example should I try? |
|
@howsTricks we use the same flags, Espressif team officially maintains PlatformIO build script. Which flags are missed? Below is an output from the last build: |
|
Hi @ivankravets, This is the error you should get without the fix, relating to multiple definitions of function "__cxa_pure_virtual" |
|
Thanks, this is a bug. I fixed it in platformio/platformio-core@904c546 I've just created a PR #563 with a temporary solution for ALL PlatformIO Core versions. (See http://docs.platformio.org/en/latest/librarymanager/config.html#libarchive) So, that PR will work in the current stable version and in the future versions. |
|
Awesome, thanks! |
|
would you mind closing/deleting this pull request then? Thanks. |
it seems that definition of __cxa_pure_virtual is already included in ESP32 build chain