-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformIO espressif/esp32-camera@^2.0.0 linker error on Ubuntu #466
Comments
Also to note: building the examples instead of my own code with 2.0.0 results in the same linking error. |
using Espressif32 platform v4.4.0 |
fyi, Upgrading to Espressif32 platform v5.2.0 complains that |
I will suggest that you ask Platformio folks on how to setup additional IDF components. It seems to me that something is not OK in the build process. We recommend ESP-IDF v4.4 (not sure what that corresponds to in PIO) |
Which components should I be looking at? I am not aware that I am missing any dependencies.
From logs: PLATFORM: Espressif 32 (4.4.0) |
Probably your camera src code needs to be udated to be compatible with v2
You have to place your main sketch in a folder which is NOT located in any Platformio "internal" folder. |
You might want to check out platformio/platformio-docs#281 - you can make it work nicely, the PlatformIO docs are just outdated I guess... |
Interesting, I'll give your suggestion a try and get back to you @AgainPsychoX. Thanks! |
This solution works for me too, I think we can close the issue |
Recently updated my project to use
espressif/esp32-camera@^2.0.0
fromespressif/esp32-camera@^1.0.0
, but now linking fails. Reverting back toespressif/esp32-camera@^1.0.0
makes build succeed.Notes:
src/
is soft linked to the one in.pio/libdeps/esp32-camera
with absolute paths.-I../lib/esp32-camera
in build_flags as suggested in the README does not make a difference. i.e. same error.espressif/esp32-camera@^1.0.0
makes the project build.Surprisingly, these "undefined reference" messages are yellow, not red. Also, these warnings do NOT show up in 1.0.0.
The text was updated successfully, but these errors were encountered: