institut-galilee / Lab-One

Through this lab, you will be able to setup a complete cross-compiling environment on your personal laptop
0 stars 0 forks source link

make: *** Aucune règle pour fabriquer la cible #9

Closed LEBSIRAHLAM closed 5 years ago

LEBSIRAHLAM commented 5 years ago

Can someone help me please to resolve this error: i tried several times but always the same error message 1-so i did this: ~/Documents/master/IOT$ sudo git clone --recursive https://github.com/institut-galilee/esp-idf all was download.. and i've this: :~/Documents/master/IOT/esp-idf/examples/get-started/hello_world$ make Makefile:8: /home/ahlam/Documents/master/IOT/make/project.mk: Aucun fichier ou dossier de ce type make: *** Aucune règle pour fabriquer la cible « /home/ahlam/Documents/master/IOT/make/project.mk ». Arrêt.

HamidiMassinissa commented 5 years ago

Can you provide the output you get when you run these two commands:

LEBSIRAHLAM commented 5 years ago

i've this: echo $IDF_PATH /home/ahlam/Documents/master/IOT

but for the $PATH: /u01/app/oracle/product/11.2.0/xe/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/ahlam/eclipse/java-2018-12/eclipse:/opt/xtensa-esp32-elf/bin

HamidiMassinissa commented 5 years ago

The second path, seems ok. However, for the first, I think you should get something like this:

/home/ahlam/Documents/master/IOT/ ... /esp-idf

Whatever is in-between, you must get esp-idf at the end.

So you have to reset your $IDF_PATH with the right path.

BYAchraf commented 5 years ago

Try to modify the $IDF_PATH in the bashrc file: $IDF_PATH=/home/ahlam/Documents/master/IOT

IDF_PATH=~/Documents/master/IOT/esp-idf

BYAchraf commented 5 years ago

I'm so sorry they are not $ before IDF_PATH so the line will be IDF_PATH=~/Documents/master/IOT/esp-idf

LEBSIRAHLAM commented 5 years ago

thanks @HamidiMassinissa & @BYAchraf for your answers it's finally working.!! :)))))))