Problems setting up Windows Linux Subsystem with esp-idf

gnorkus
Posts: 35
Joined: Thu Mar 22, 2018 12:41 pm

Problems setting up Windows Linux Subsystem with esp-idf

Postby gnorkus » Fri Mar 30, 2018 12:33 pm

Hi All!

I heard that the Windows Subsystem for Linux would compile a bunch faster than MingW32, so I decided to give it a try, both in Debian and Ubuntu. I'm simply trying to make from the command line, and both Debian and Ubuntu are giving me the same problem, however.

When I get everything set up, I type "make" and this is what I get on both systems.

Below is a picture of the problem:

Thanks ahead of time for the help!
Screenshot (24).png
Screenshot (24).png (101.58 KiB) Viewed 10377 times

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby kolban » Fri Mar 30, 2018 3:00 pm

It looks good according to my notes. The only thing I see that appears a little odd to my eyes is that the error message appears to be:

/make/project.mk'. Stop. target '/home/gnork/esp/esp-idf

which doesn't seem to be formatted correctly.

Also, is your IDF_PATH environment variable "exported".

How did you set the variable?

Try:

export IDF_PATH=...value...

and try again.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

gnorkus
Posts: 35
Joined: Thu Mar 22, 2018 12:41 pm

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby gnorkus » Fri Mar 30, 2018 3:09 pm

Hi nkolban,

Thx for the reply!

I put the export commands in some scripts. I put them in /etc/profile.d

The echo commands were just to show you the environment variables indeed were set properly (I hope)

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby WiFive » Fri Mar 30, 2018 3:44 pm

Your path is messed up, look at the last 2 entries

chegewara
Posts: 2361
Joined: Wed Jun 14, 2017 9:00 pm

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby chegewara » Fri Mar 30, 2018 3:48 pm

Missing python interpreter in path perhaps?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby kolban » Fri Mar 30, 2018 4:39 pm

@gnorkus
Assuming the great suggestions just posted don't resolve the problem, I have some time today and this is an area that interests me. If you feel it would be useful to have another pair of eyes on the puzzle, ping me on IRC in channel #ESP32 user kolban and we can do a skype/screen share to look at it together.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

gnorkus
Posts: 35
Joined: Thu Mar 22, 2018 12:41 pm

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby gnorkus » Fri Mar 30, 2018 4:50 pm

Chegewara, thx!

O.K. Uninstalled Debian and reinstalled clean setup. New esp-idf and toolchain. Same problem, but fixed the paths.

Here's a new pic:
Screenshot (26).png
Screenshot (26).png (361.39 KiB) Viewed 10344 times

gnorkus
Posts: 35
Joined: Thu Mar 22, 2018 12:41 pm

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby gnorkus » Fri Mar 30, 2018 4:59 pm

Thx nkolban,

O.K. Python was not installed. So, I assume I should add that to the path, per your other comment? (I didn't see that in the espressif setup instructions. :) )

Suggestions on path to add?

gnorkus
Posts: 35
Joined: Thu Mar 22, 2018 12:41 pm

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby gnorkus » Fri Mar 30, 2018 6:08 pm

sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial

Well, I guess it was in the instructions....

Doh..

gnorkus
Posts: 35
Joined: Thu Mar 22, 2018 12:41 pm

Re: Problems setting up Windows Linux Subsystem with esp-idf

Postby gnorkus » Fri Mar 30, 2018 6:57 pm

Ok even with python and python-serial installed, it still doesn't compile, same messages. I did a full reinstall using the exact method of installation. So I'll google the python path. If that doesn't work, will Monday be a good day to Skype you? (Nkolban)

Who is online

Users browsing this forum: No registered users and 89 guests