Page 1 of 1

esp32 compilation problems ?

Posted: Mon Nov 06, 2017 3:55 am
by BearPeak
I download the esp32 idf from github,but make it have some problem .
I use git clone https://github.com/espressif/esp-idf.git esp-idf-new to my disk .Then copy it to linux environment to make it .
I do not know why this problem happens when using the native example ?
Can anyone help me?

Re: esp32 compilation problems ?

Posted: Mon Nov 06, 2017 5:21 am
by kolban
I heard something odd in your report. You said you downloaded it and then moved it to Linux. Are you not working exclusively in Linux? Can you not download directly into Linux?

Re: esp32 compilation problems ?

Posted: Mon Nov 06, 2017 5:46 am
by BearPeak
Although I do not know the reason, but I use git download on Linux there is no that problem.
Anyway thank you very much.

Re: esp32 compilation problems ?

Posted: Mon Nov 06, 2017 10:00 am
by novalight
I have seen something similar when I share a project between Windows and Linux. Some things are compiled/linked differently. The solution in my case is to delete the build directory every time I switch the system. Could you maybe try that?

Re: esp32 compilation problems ?

Posted: Mon Nov 06, 2017 10:54 am
by chegewara
Most likely its becuse you didnt use --recursive flag when you git cloned and didnt update submodule. You are missing few submodules.

Re: esp32 compilation problems ?

Posted: Tue Nov 07, 2017 1:22 am
by BearPeak
Think you.
I've solved the problem.

Re: esp32 compilation problems ?

Posted: Tue Nov 07, 2017 1:23 am
by BearPeak
Think you.
I've solved the problem.