You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
recently installed ESP-EDF environment on Win10.
native examples work fine but when downloaded mkfatfs sources and try to run idf.py build command it return below error message
CMakeLists.txt not found in project directory c:\users\kobe\desktop\esp-idf\projects\mkfatfs\esp32_mkfatfs
I tried to create that file simply copy it from hello-world example but it produced another error:
[91/91] Generating binary image from built executable
esptool.py v2.9-dev
Generated C:/Users/kobe/Desktop/esp-idf/projects/mkfatfs/ESP32_mkfatfs/build/bootloader/bootloader.bin
[905/906] Linking CXX executable make-FATfs.elf
FAILED: make-FATfs.elf
cmd.exe /C "cd . && D:\v\Duino\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\make-FATfs.elf.rsp -o make-FATfs.elf && cd ."
d:/v/duino/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj):(.literal.main_task+0x18): undefined reference to `app_main'
d:/v/duino/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj): in function `main_task':
C:/Users/kobe/Desktop/esp-idf/components/esp32/cpu_start.c:551: undefined reference to `app_main'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
CMakeLists.txt file contains only below lines:
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(make-FATfs)
Could it be fixed?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello!
recently installed ESP-EDF environment on Win10.
native examples work fine but when downloaded mkfatfs sources and try to run idf.py build command it return below error message
CMakeLists.txt not found in project directory c:\users\kobe\desktop\esp-idf\projects\mkfatfs\esp32_mkfatfs
I tried to create that file simply copy it from hello-world example but it produced another error:
CMakeLists.txt file contains only below lines:
Could it be fixed?
Thanks in advance!
The text was updated successfully, but these errors were encountered: