I tries to build IDF example project from the windows IDF commadn prompt.
IDF path is correct
I can ask the compiler version.
However when executing CMake it always attempts to build with visual studio, which finally results in errors.
From the output below you can see the the assembler is detected correctly.
What am I overlooking ?
Code: Select all
cmake -DVENDOR=espressif -DBOARD=esp32_wrover_kit -DCOMPILER=xtensa-esp32 -S . -B build ../
-- Building for: Visual Studio 12 2013
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- The ASM compiler identification is GNU
-- Found assembler: H:/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe