espressif / esp-va-sdk

Espressif's Voice Assistant SDK: Alexa, Google Voice Assistant, Google DialogFlow
Other
292 stars 83 forks source link

Which C compiler, CXX compiler and ASM should be used in the idf.py menuconfig #144

Open HowardHonig opened 3 years ago

HowardHonig commented 3 years ago

I'm having problems with the "idf.py menuconfig" step.
After running this python script I get the message(s):

----------------->

-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1") -- IDF_TARGET not set, using default target: esp32 -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- The ASM compiler identification is unknown -- Found assembler: xtensa-esp32-elf-gcc CMake Error at C:/Users/howar/Documents/Alexa/iot/exp-vaquita/esp-idf/tools/cmake/project.cmake:273 (__project): The CMAKE_C_COMPILER:

xtensa-esp32-elf-gcc

is not a full path and was not found in the PATH. -------------->

My question is whose tools should I be using? The Expressif tools don't seem to include them, unless the name is hidden or obscured. If they are in the toolset, what should the environmental variable be set at?

I'm using Windows 10. Had to download cmake because Visual Studio's CMAKE path location is too large for the PATH variable but that may not be the problem here.

HowardHonig commented 3 years ago

Solved it by working around this. I downloaded the espressif tools win installer at https://dl.espressif.com/dl/esp-idf/?idf=4.4.
Why the C:\Users\howar\Documents\Alexa\iot\exp-vaquita\esp-idf wasn't enough when most of the modules are there, I'll probably never find out, but it does compile now. Now to the next step.