
Description
Hi i am mostly new to arduino and this is my first real "project". I have purchased an arduino nano and an Ethernet shield, however when i try to upload the sketch it says error compiling for board arduino nano. my arduino is most likely fake, (since i got it for £2) yet i can successfully upload the "blink" example without any issues.
The fake board has an ATmega328 chip on it and CH340G on the bottom.
The error message says:
Arduino: 1.8.2 (Windows 10), Board: "Arduino Nano, ATmega328"
A:\programs\arduino\arduino-builder -dump-prefs -logger=machine -hardware A:\programs\arduino\hardware -tools A:\programs\arduino\tools-builder -tools A:\programs\arduino\hardware\tools\avr -built-in-libraries A:\programs\arduino\libraries -libraries A:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10802 -build-path C:\Users\COLEFO1\AppData\Local\Temp\arduino_build_461032 -warnings=none -build-cache C:\Users\COLEFO1\AppData\Local\Temp\arduino_cache_920256 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=A:\programs\arduino\hardware\tools\avr -verbose C:\Users\cole foster\Documents\my documents\cole foster\ArduinoARPspoof-master\ARPspoofer\ARPspoofer.ino
A:\programs\arduino\arduino-builder -compile -logger=machine -hardware A:\programs\arduino\hardware -tools A:\programs\arduino\tools-builder -tools A:\programs\arduino\hardware\tools\avr -built-in-libraries A:\programs\arduino\libraries -libraries A:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10802 -build-path C:\Users\COLEFO1\AppData\Local\Temp\arduino_build_461032 -warnings=none -build-cache C:\Users\COLEFO1\AppData\Local\Temp\arduino_cache_920256 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=A:\programs\arduino\hardware\tools\avr -verbose C:\Users\cole foster\Documents\my documents\cole foster\ArduinoARPspoof-master\ARPspoofer\ARPspoofer.ino
Using board 'nano' from platform in folder: A:\programs\arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: A:\programs\arduino\hardware\arduino\avr
Detecting libraries used...
"A:\programs\arduino\hardware\tools\avr/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=10802 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IA:\programs\arduino\hardware\arduino\avr\cores\arduino" "-IA:\programs\arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\COLEFO1\AppData\Local\Temp\arduino_build_461032\sketch\ARPspoofer.ino.cpp" -o "nul"1\AppData\Local\Temp\arduino_build_461032\sketch\ARPspoofer.ino.cpp" -o "C:\Users\COLEFO~1\AppData\Local\Temp\arduino_build_461032\preproc\ctags_target_for_gcc_minus_e.cpp"
"A:\programs\arduino\hardware\tools\avr/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=10802 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IA:\programs\arduino\hardware\arduino\avr\cores\arduino" "-IA:\programs\arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\COLEFO
C:\Users\cole foster\Documents\my documents\cole foster\ArduinoARPspoof-master\ARPspoofer\ARPspoofer.ino:8:22: fatal error: enc28j60.h: No such file or directory
#include <enc28j60.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino Nano.