Помогите избавиться от ошибки компиляции для Mega ADk

demansn
Offline
Зарегистрирован: 30.10.2013

  Вот лог ошибки:

 

 

In file included from D:\MyDocuments\Arduino\libraries\ADK2\utility/usb_drv.h:56,
                 from D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:19:
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Status_bool_t'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Status_t'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:248: error: expected specifier-qualifier-list before 'S16'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:257: error: expected specifier-qualifier-list before 'S32'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:268: error: expected specifier-qualifier-list before 'S64'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:281: error: expected specifier-qualifier-list before 'S64'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:294: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:307: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:320: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:333: error: expected specifier-qualifier-list before 'S64'
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:346: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:359: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:372: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
D:\MyDocuments\Arduino\libraries\ADK2\utility/compiler.h:1221: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Byte'
In file included from D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:19:
D:\MyDocuments\Arduino\libraries\ADK2\utility/usb_drv.h:60:18: error: chip.h: No such file or directory
In file included from D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:19:
D:\MyDocuments\Arduino\libraries\ADK2\utility/usb_drv.h:1592: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_set_p_txpacket'
D:\MyDocuments\Arduino\libraries\ADK2\utility/usb_drv.h:1593: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_write_p_txpacket'
D:\MyDocuments\Arduino\libraries\ADK2\utility/usb_drv.h:1594: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_read_p_rxpacket'
In file included from D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:20:
D:\MyDocuments\Arduino\libraries\ADK2\utility/usb_ids.h:282: error: expected specifier-qualifier-list before 'U8'
D:\MyDocuments\Arduino\libraries\ADK2\accessory.c: In function 'accessory_init':
D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:180: error: 'ID_SMC' undeclared (first use in this function)
D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:180: error: (Each undeclared identifier is reported only once
D:\MyDocuments\Arduino\libraries\ADK2\accessory.c:180: error: for each function it appears in.)
 
NeiroN
NeiroN аватар
Offline
Зарегистрирован: 15.06.2013

Синтаксические ошибки у вас.