-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compilation Error #1
Comments
@hackintoshlover which ESP-IDF version are you using? |
esp-idf 1.2.0 |
Was there every a solution found to this issue? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
While trying to compile the code i am getting the error below, would request your help with the same.
Executing task: cmake --build . <
[1/6] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Users\a\Downloads\Air-Mouse-master\Air-Mouse-master\build\bootloader\esp-idf\esptool_py && C:\Users\a.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Users/a/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/a/Downloads/Air-Mouse-master/Air-Mouse-master/build/bootloader/bootloader.bin"
Bootloader binary size 0x62c0 bytes. 0xd40 bytes (12%) free.
[2/4] Linking CXX executable SRA_air-mouse.elf
FAILED: SRA_air-mouse.elf
cmd.exe /C "cd . && C:\Users\a.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\SRA_air-mouse.elf.rsp -o SRA_air-mouse.elf && cd ."
c:/users/a/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj):(.literal.main_task+0x14): undefined reference to
app_main' c:/users/a/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function
main_task':C:/Users/a/esp/esp-idf/components/freertos/port/port_common.c:125: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake --build ." terminated with exit code: 1
I am using esp-idf with vscode.
The text was updated successfully, but these errors were encountered: