Whilst trying to program a UNO i get the error notice that wire.h is missing:
Detecting libraries used...
"C:\Users\Harry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Harry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\Harry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\standard" "C:\Users\Harry\AppData\Local\Temp\arduino_build_196827\sketch\stepper_motor_controller.ino.cpp" -o "nul"
"C:\Users\Harry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Harry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\Harry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\standard" "-IC:\Users\Harry\Documents\Arduino\libraries\AccelStepper-1.57.1\src" "C:\Users\Harry\AppData\Local\Temp\arduino_build_196827\sketch\stepper_motor_controller.ino.cpp" -o "nul"
"C:\Users\Harry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\Harry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\Harry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\standard" "-IC:\Users\Harry\Documents\Arduino\libraries\AccelStepper-1.57.1\src" "C:\Users\Harry\AppData\Local\Temp\arduino_build_196827\sketch\stepper_motor_controller.ino.cpp" -o "C:\Users\Harry\AppData\Local\Temp\arduino_build_196827\preproc\ctags_target_for_gcc_minus_e.cpp"
S:\satnogs-rotator-firmware\stepper_motor_controller\stepper_motor_controller.ino:2:18: fatal error: Wire.h: No such file or directory
#include <Wire.h>
^
compilation terminated.
But that library is there, found iyt at:
C:\Program Files (x86)\arduino-1.8.5\hardware\arduino\avr\libraries\Wire
so why do i get this error and cant compile sketches. Any suggestions