Hallo,
ich kriege beim Kompilieren von ...
https://github.com/joachimBurket/esp32-opencv/tree/master/esp32/examples/hello_opencv
... mit PlatformIO folgende Fehlermeldung:
1 | [build] [ 99%] Linking CXX executable hello_opencv.elf
|
2 |
|
3 | [build] /home/mongoq/.platformio/packages/toolchain-xtensa-esp32/bin/…/lib/gcc/xtensa-esp32-elf/8.4.0/…/…/…/…/xtensa-esp32-elf/bin/ld: esp-idf/freertos/libfreertos.a(port_common.c.obj):(.literal.main_task+0x1c): undefined reference to `app_main’
|
4 |
|
5 | [build] /home/mongoq/.platformio/packages/toolchain-xtensa-esp32/bin/…/lib/gcc/xtensa-esp32-elf/8.4.0/…/…/…/…/xtensa-esp32-elf/bin/ld: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task’:
|
6 |
|
7 | [build] /home/mongoq/.platformio/packages/framework-espidf/components/freertos/port/port_common.c:122: undefined reference to `app_main’
|
8 |
|
9 | [build] collect2: error: ld returned 1 exit status
|
10 |
|
11 | [build] make[2]: *** [hello_opencv.elf] Error 1
|
12 |
|
13 | [build] make[1]: *** [CMakeFiles/hello_opencv.elf.dir/all] Error 2
|
14 |
|
15 | [build] make: *** [all] Error 2
|
16 |
|
17 | [build] CMakeFiles/hello_opencv.elf.dir/build.make:423: recipe for target ‘hello_opencv.elf’ failed
|
18 |
|
19 | [build] CMakeFiles/Makefile2:554: recipe for target ‘CMakeFiles/hello_opencv.elf.dir/all’ failed
|
20 |
|
21 | [build] Makefile:129: recipe for target ‘all’ failed
|
22 |
|
23 | [build] Build finished with exit code 2
|
Was mach ich?
Mark