spacehuhn / ArduinoARPspoof

Kicks out everyone in your LAN via with an enc28j60 ethernet controller and Arduino.
MIT License
271 stars 89 forks source link

error compiling for board Arduino Nano #8

Open ghost opened 7 years ago

ghost commented 7 years ago

desktop 08 05 2017 - 17 55 43 03

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\COLEFO~1\AppData\Local\Temp\arduino_build_461032 -warnings=none -build-cache C:\Users\COLEFO~1\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\COLEFO~1\AppData\Local\Temp\arduino_build_461032 -warnings=none -build-cache C:\Users\COLEFO~1\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\COLEFO~1\AppData\Local\Temp\arduino_build_461032\sketch\ARPspoofer.ino.cpp" -o "nul" "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~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" 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

                  ^

compilation terminated.

exit status 1 Error compiling for board Arduino Nano.

spacehuhn commented 7 years ago

Looks like you forgot to install the library:

2. Install library

You will need to add the ethercard library in Arduino.
Ho to do that is explained here: https://github.com/jcw/ethercard
ghost commented 7 years ago

Yeah thanks man for responding so fast but i am sorry to waste your time. Earlier i thaught i installed the library but i only downloaded it, however i have done it this time and it works great! Thanks for the amazing projects man you really inspired me into using arduino!

clement6665 commented 5 years ago

Hi i am mostly new to arduino and this is my first real "project". I have purchased an arduino nano however when i try to upload the sketch it says error compiling Arduino: 1.8.10 (Windows 7), Board: "Arduino Nano, ATmega328P"

Multiple libraries were found for "SoftwareSerial.h" Car_accident (3):2:10: error: TinyGPS.h: No such file or directory

Used: C:\Program

include

      ^~~~~~~~~~~

compilation terminated.

exit status 1 TinyGPS.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

please show me the out