bash: cmake: command not found

Submitted by Abhimanyu on Wed, 07/17/2019 - 17:52

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. 

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. 

  Joined January 21, 2019      42
Monday at 12:12 PM