Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ninja failed with exit code 1 while trying to build #54

Open
ZeroTwoWeeb opened this issue Mar 16, 2023 · 7 comments
Open

ninja failed with exit code 1 while trying to build #54

ZeroTwoWeeb opened this issue Mar 16, 2023 · 7 comments

Comments

@ZeroTwoWeeb
Copy link

when building I get:

/home/${USER}/esp/esp32-wifi-penetration-tool/components/wifi_controller/interface/../ap_scanner.h:12:10: fatal error: esp_wifi_types.h: No such file or directory
   12 | #include "esp_wifi_types.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

I tried building on windows as well as Linux

@ZhengLinLei
Copy link

ZhengLinLei commented May 7, 2023

I'm having this issue too.

@risinek
Copy link
Owner

risinek commented May 7, 2023

do you have ESP IDF correctly installed? Are you able to build some example projects from ESP-IDF?

@ZhengLinLei
Copy link

I cannot use idf.py v4.1 because I'm using MacOS but I solve it changing some code, updating the CMakeList for new version of idf.py (v5.x)

(And I'm using ESPS2, so the pre-built bin images cannot be used for me)

@devwander
Copy link

I had the same problem, in my case it was solved when I installed an older version of esp-idf (I opted for 4.2).

My system:
Edition: Windows 10 Home Single Language
Version: 21H2
SO: 19044.2846

@risinek
Copy link
Owner

risinek commented May 10, 2023

Well this project was build with 4.1 and newer versions were not tested, nor are "supported". If you manage to make it work with newer version than 4.1 feel free to update README 👍

@mach9977
Copy link

I slightly edited cmakelists.txt in components to work with esp-idf 5.1
https://drive.google.com/file/d/15rp9V47SAsMJdZ_icQWxyvLZehNN6km6/view?usp=sharing

Or you can download older esp-idf 4.1
https://web.archive.org/web/20230308085757if_/https://dl.espressif.com/dl/idf-installer/esp-idf-tools-setup-offline-4.1.3.exe

Good Luck :)

@ZhengLinLei
Copy link

I slightly edited cmakelists.txt in components to work with esp-idf 5.1 https://drive.google.com/file/d/15rp9V47SAsMJdZ_icQWxyvLZehNN6km6/view?usp=sharing

Why don't you fork and merge request your changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants