bash: cmake: command not found

Submitted by Abhimanyu on

Hi Team,

i am running a program in raspberry pi3. but i am getting a following error when i type the command. 

pi@raspberrypi:~/mraa/build $ cmake .. -DBUILDSWIGNODE=OFF
bash: cmake: command not found

everything went right but this error is really annoying and cannot proceed ahead. please see to it. 

thanks. 

A

Abhimanyu Pandit

  Joined January 21, 2019      42

Monday at 12:12 PM

You don't have make and cmake installed in your raspberry pi3.
Run following command to install them in the raspberry pi3.
sudo apt-get install build-essential cmake

 

it will take some time approx 2 minutes. so just hold tight and let it be finished. after that you surely wont get this error.