#2 Re: Програмування Arduino » Ошибка библиотеки ArduinoRobot.h » 2017-01-06 01:05:23

переставила IDE на версию 1.8.0 - ошибка при компиляции без изменений

#3 Програмування Arduino » Ошибка библиотеки ArduinoRobot.h » 2017-01-05 22:21:48

Dana
відповідей: 4

Помогите пожалуйста советом:
при компиляции кода

#include <ArduinoRobot.h> // include the robot library
void setup() {
 
}
void loop() {
}

возникает ошибка

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`osc' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`pcm' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

`cia_count' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia_count' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia_count' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia_count' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia_count' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`cia_count' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Melody.cpp.o (symbol from plugin)

`squawk_playroutine' referenced in section `.text' of C:\Users\Asus\AppData\Local\Temp\ccv2TSBP.ltrans0.ltrans.o: defined in discarded section `.text' of C:\Users\Asus\AppData\Local\Temp\arduino_build_655074\libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

collect2.exe: error: ld returned 1 exit status

Используем библиотеку Robot_Control версии 1.0.2 из папки: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.6.13.0_x64__mdqgnx93n4wtt\libraries\Robot_Control
Используем библиотеку Wire версии 1.0 из папки: C:\Users\Asus\Documents\ArduinoData\packages\arduino\hardware\avr\1.6.15\libraries\Wire
Используем библиотеку SPI версии 1.0 из папки: C:\Users\Asus\Documents\ArduinoData\packages\arduino\hardware\avr\1.6.15\libraries\SPI
exit status 1
Ошибка компиляции для платы Arduino Robot Control.

Библиотеку уже обновляла, не помогло

Підвал форуму