Sudden build problems

jakkra
Posts: 7
Joined: Mon Sep 11, 2017 12:49 pm

Sudden build problems

Postby jakkra » Thu Mar 28, 2019 11:14 am

Environment

- IDF version: Current master and release/v3.2
- Build System: [Make]
- Compiler version: (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 5.2.0
- Operating System: [Windows]


Problem Description
Suddenly building stopped working. We have tried checking out a compleately clean esp-idf and a new https://docs.espressif.com/projects/esp ... hain-setup. We have tried both master and release/v3.2.

IDF_PATH is set correctly.
This is from running make in the example/wifi/scan

Code: Select all

/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0:` MAKEFLAGS="" CC=C:\Program Files (x86)\CMake\bin LD=ld \'
python requirements from /c/Users/me/esp-idf/requirements.txt are satisfied

This is only a problem on one specific computer where building did work before. This is probably not anything related to the esp-idf, but instead Windows/msys.

I cannot figure out what to do and I'm not very keen on having to whipe the computer due to this.

Does anyone have any idea?

Thanks alot

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

Re: Sudden build problems

Postby WiFive » Thu Mar 28, 2019 1:06 pm

Somehow you have an environment variable named CC with value C:\Program Files (x86)\CMake\bin?

jakkra
Posts: 7
Joined: Mon Sep 11, 2017 12:49 pm

Re: Sudden build problems

Postby jakkra » Thu Mar 28, 2019 3:59 pm

Thanks, my college which have the problem just left, but I'll check with him.
But how can there be an environent variable set in a compleately clean msys32?
Does it pick up variables from Windows somewhere?

jakkra
Posts: 7
Joined: Mon Sep 11, 2017 12:49 pm

Re: Sudden build problems

Postby jakkra » Tue Apr 02, 2019 6:46 am

Thanks solved the problem :)

Who is online

Users browsing this forum: Bing [Bot] and 250 guests