Arduino garage parking sensor. compiling error.

I’m am trying to make this, fairly straight forward, I thought.

http://www.electrominds.com/projects/arduino-garage-parking-sensor

This is the error message. I’m guessing it has something to do with the way I have installed the compiling program or the library directory. I downloaded the blink program and it seem to upload and work properly so I’m a little confused.

Arduino: 1.6.9 (Mac OS X), Board: “Arduino/Genuino Uno”

/Users/jac/Downloads/Arduino 2.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware “/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware” -tools “/Users/jac/Downloads/Arduino 2.app/Contents/Java/tools-builder” -tools “/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/tools/avr” -built-in-libraries “/Users/jac/Downloads/Arduino 2.app/Contents/Java/libraries” -libraries “/Users/jac/Documents/Arduino/libraries” -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10609 -build-path “/var/folders/b1/kc_bzzwd5_g7rgx0t34q23_nc69j9g/T/build869e9fb1e42a5d52ac0194cb52b6962b.tmp” -warnings=none -prefs=build.warn_data_percentage=75 -verbose “/Users/jac/Downloads/e962a00fbad8784358b8-376bcd1e056343b509daead7dbdfb778c3b03e19/garageParkingSensor/garageParkingSensor.ino”
/Users/jac/Downloads/Arduino 2.app/Contents/Java/arduino-builder -compile -logger=machine -hardware “/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware” -tools “/Users/jac/Downloads/Arduino 2.app/Contents/Java/tools-builder” -tools “/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/tools/avr” -built-in-libraries “/Users/jac/Downloads/Arduino 2.app/Contents/Java/libraries” -libraries “/Users/jac/Documents/Arduino/libraries” -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10609 -build-path “/var/folders/b1/kc_bzzwd5_g7rgx0t34q23_nc69j9g/T/build869e9fb1e42a5d52ac0194cb52b6962b.tmp” -warnings=none -prefs=build.warn_data_percentage=75 -verbose “/Users/jac/Downloads/e962a00fbad8784358b8-376bcd1e056343b509daead7dbdfb778c3b03e19/garageParkingSensor/garageParkingSensor.ino”
“/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-I/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/arduino/avr/variants/standard” “/var/folders/b1/kc_bzzwd5_g7rgx0t34q23_nc69j9g/T/build869e9fb1e42a5d52ac0194cb52b6962b.tmp/sketch/garageParkingSensor.ino.cpp” -o “/dev/null”
“/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-I/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Users/jac/Downloads/Arduino 2.app/Contents/Java/hardware/arduino/avr/variants/standard” “/var/folders/b1/kc_bzzwd5_g7rgx0t34q23_nc69j9g/T/build869e9fb1e42a5d52ac0194cb52b6962b.tmp/sketch/garageParkingSensor.ino.cpp” -o “/var/folders/b1/kc_bzzwd5_g7rgx0t34q23_nc69j9g/T/build869e9fb1e42a5d52ac0194cb52b6962b.tmp/preproc/ctags_target_for_gcc_minus_e.cpp”
/Users/jac/Downloads/e962a00fbad8784358b8-376bcd1e056343b509daead7dbdfb778c3b03e19/garageParkingSensor/garageParkingSensor.ino:15:21: fatal error: NewPing.h: No such file or directory
#include <NewPing.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.

NewPing.h: No such file or directory
#include <NewPing.h>

Means that the library is not installed correctly. The NewPing folder should be in the libraries folder in your sketchbook folder.

Thanks for that. You were correct. The program now runs but the circuit still isn't working. Guesss I'll have to post it on another forum.

Could you elaborate a little? Share your circuit, and code in code </> tags and we could probably help.