Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling for board Arduino Nano #2

Open
SiyaraBis opened this issue Jan 26, 2022 · 0 comments
Open

Error compiling for board Arduino Nano #2

SiyaraBis opened this issue Jan 26, 2022 · 0 comments

Comments

@SiyaraBis
Copy link

Hi! Does anyone know how to fix the error: "Error compiling for board Arduino Nano"? Any advice is much appreciated!

I am pasting the error message here now:
`Arduino: 1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

C:\Users\Siyara\Downloads\FILES\arduino-nightly\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\Siyara\Downloads\FILES\arduino-nightly\hardware -hardware C:\Users\Siyara\AppData\Local\Arduino15\packages -tools C:\Users\Siyara\Downloads\FILES\arduino-nightly\tools-builder -tools C:\Users\Siyara\Downloads\FILES\arduino-nightly\hardware\tools\avr -tools C:\Users\Siyara\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\Siyara\Downloads\FILES\arduino-nightly\libraries -libraries C:\Users\Siyara\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10820 -build-path C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437 -warnings=none -build-cache C:\Users\Siyara\AppData\Local\Temp\arduino_cache_314998 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Siyara\Downloads\MonteQuadcopter-master\MonteQuadcopter\MonteQuadcopter.ino

C:\Users\Siyara\Downloads\FILES\arduino-nightly\arduino-builder -compile -logger=machine -hardware C:\Users\Siyara\Downloads\FILES\arduino-nightly\hardware -hardware C:\Users\Siyara\AppData\Local\Arduino15\packages -tools C:\Users\Siyara\Downloads\FILES\arduino-nightly\tools-builder -tools C:\Users\Siyara\Downloads\FILES\arduino-nightly\hardware\tools\avr -tools C:\Users\Siyara\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\Siyara\Downloads\FILES\arduino-nightly\libraries -libraries C:\Users\Siyara\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10820 -build-path C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437 -warnings=none -build-cache C:\Users\Siyara\AppData\Local\Temp\arduino_cache_314998 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Siyara\Downloads\MonteQuadcopter-master\MonteQuadcopter\MonteQuadcopter.ino

Using board 'nano' from platform in folder: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4

Using core 'arduino' from platform in folder: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4

Detecting libraries used...

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for SoftwareSerial.h: [[email protected]]

ResolveLibrary(SoftwareSerial.h)

-> candidates: [[email protected]]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for I2Cdev.h: [I2Cdev]

ResolveLibrary(I2Cdev.h)

-> candidates: [I2Cdev]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for Wire.h: [[email protected]]

ResolveLibrary(Wire.h)

-> candidates: [[email protected]]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for MPU6050_6Axis_MotionApps20.h: [MPU6050 MPU6050_6Axis_MotionApps20]

ResolveLibrary(MPU6050_6Axis_MotionApps20.h)

-> candidates: [MPU6050 MPU6050_6Axis_MotionApps20]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for MPU6050.h: [MPU6050]

ResolveLibrary(MPU6050.h)

-> candidates: [MPU6050]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for PID_v1.h: [[email protected]]

ResolveLibrary(PID_v1.h)

-> candidates: [[email protected]]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050" "-IC:\Users\Siyara\Documents\Arduino\libraries\Arduino-PID-Library-master" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Alternatives for EEPROM.h: [[email protected]]

ResolveLibrary(EEPROM.h)

-> candidates: [[email protected]]

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050" "-IC:\Users\Siyara\Documents\Arduino\libraries\Arduino-PID-Library-master" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\EEPROM\src" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o nul

Using cached library dependencies for file: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src\SoftwareSerial.cpp

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\I2Cdev\I2Cdev.cpp

Using cached library dependencies for file: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src\Wire.cpp

Using cached library dependencies for file: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src\utility\twi.c

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050\MPU6050.cpp

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050\MPU6050_6Axis_MotionApps612.cpp

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050\MPU6050_9Axis_MotionApps41.cpp

Using cached library dependencies for file: C:\Users\Siyara\Documents\Arduino\libraries\Arduino-PID-Library-master\PID_v1.cpp

Generating function prototypes...

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050" "-IC:\Users\Siyara\Documents\Arduino\libraries\Arduino-PID-Library-master" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\EEPROM\src" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\preproc\ctags_target_for_gcc_minus_e.cpp"

"C:\Users\Siyara\Downloads\FILES\arduino-nightly\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\preproc\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10820 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\cores\arduino" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\variants\eightanaloginputs" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\I2Cdev" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire\src" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20" "-IC:\Users\Siyara\Documents\Arduino\libraries\MPU6050" "-IC:\Users\Siyara\Documents\Arduino\libraries\Arduino-PID-Library-master" "-IC:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\EEPROM\src" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp" -o "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp.o"

Compiling libraries...

Compiling library "SoftwareSerial"

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\SoftwareSerial\SoftwareSerial.cpp.o

Compiling library "I2Cdev"

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\I2Cdev\I2Cdev.cpp.o

Compiling library "Wire"

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\Wire\Wire.cpp.o

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\Wire\utility\twi.c.o

Compiling library "MPU6050_6Axis_MotionApps20"

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o

Compiling library "MPU6050"

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050.cpp.o

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_9Axis_MotionApps41.cpp.o

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps612.cpp.o

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o

Compiling library "Arduino-PID-Library-master"

Using previously compiled file: C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\Arduino-PID-Library-master\PID_v1.cpp.o

Compiling library "EEPROM"

Compiling core...

Using precompiled core: C:\Users\Siyara\AppData\Local\Temp\arduino_cache_314998\core\core_arduino_avr_nano_cpu_atmega328old_9599b5cdc39c291a84f74d924ec9a3d6.a

Linking everything together...

"C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437/MonteQuadcopter.ino.elf" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\sketch\MonteQuadcopter.ino.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\SoftwareSerial\SoftwareSerial.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\I2Cdev\I2Cdev.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\Wire\Wire.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\Wire\utility\twi.c.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps612.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_9Axis_MotionApps41.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\Arduino-PID-Library-master\PID_v1.cpp.o" "C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437/..\arduino_cache_314998\core\core_arduino_avr_nano_cpu_atmega328old_9599b5cdc39c291a84f74d924ec9a3d6.a" "-LC:\Users\Siyara\AppData\Local\Temp\arduino_build_613437" -lm

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpInitialize()'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpPacketAvailable()'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetAccel(long*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetAccel(int*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetAccel(VectorInt16*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetQuaternion(long*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetQuaternion(int*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetQuaternion(Quaternion*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetGyro(long*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetGyro(int*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetGyro(VectorInt16*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetLinearAccel(VectorInt16*, VectorInt16*, VectorFloat*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetLinearAccelInWorld(VectorInt16*, VectorInt16*, Quaternion*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetGravity(int*, unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetGravity(VectorFloat*, Quaternion*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetEuler(float*, Quaternion*)'

Multiple libraries were found for "MPU6050_6Axis_MotionApps20.h"

Used: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20

Not used: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetYawPitchRoll(float*, Quaternion*, VectorFloat*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpProcessFIFOPacket(unsigned char const*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpReadAndProcessFIFOPacket(unsigned char, unsigned char*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetFIFOPacketSize()'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin): In function `MPU6050_6Axis_MotionApps20::dmpInitialize()':

(.text+0x0): multiple definition of `MPU6050_6Axis_MotionApps20::dmpGetCurrentFIFOPacket(unsigned char*)'

C:\Users\Siyara\AppData\Local\Temp\arduino_build_613437\libraries\MPU6050_6Axis_MotionApps20\MPU6050_6Axis_MotionApps20.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

Using library SoftwareSerial at version 1.0 in folder: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SoftwareSerial

Using library I2Cdev in folder: C:\Users\Siyara\Documents\Arduino\libraries\I2Cdev (legacy)

Using library Wire at version 1.0 in folder: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\Wire

Using library MPU6050_6Axis_MotionApps20 in folder: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050_6Axis_MotionApps20 (legacy)

Using library MPU6050 in folder: C:\Users\Siyara\Documents\Arduino\libraries\MPU6050 (legacy)

Using library Arduino-PID-Library-master at version 1.2.1 in folder: C:\Users\Siyara\Documents\Arduino\libraries\Arduino-PID-Library-master

Using library EEPROM at version 2.0 in folder: C:\Users\Siyara\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\EEPROM

exit status 1

Error compiling for board Arduino Nano.

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant