سلام من کتابخونه هارو نصب کردم و طبق این آموزش جلو رفتم http://www.eca.ir/2016/10/07/%D8%B1%...C%D9%86%D9%88/ در پایان به این خطا رسیدم :
کد:
[FONT=Yekan]Archiving built core (caching) in: /var/folders/r2/zb_0slnn1vx67hcz9kym5d8c0000gn/T/arduino_cache_943787/core/core_arduino_avr_uno_51f02b7210b938436b779d1c032618e1.a[/FONT]/var/folders/r2/zb_0slnn1vx67hcz9kym5d8c0000gn/T//ccXzwLqX.ltrans0.ltrans.o: In function `__static_initialization_and_destruction_0': /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:21: undefined reference to `NFC_Module::NFC_Module()' /var/folders/r2/zb_0slnn1vx67hcz9kym5d8c0000gn/T//ccXzwLqX.ltrans0.ltrans.o: In function `setup': /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:26: undefined reference to `NFC_Module::begin()' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:29: undefined reference to `NFC_Module::get_version()' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:41: undefined reference to `NFC_Module::SAMConfiguration(unsigned char, unsigned char, unsigned char)' /var/folders/r2/zb_0slnn1vx67hcz9kym5d8c0000gn/T//ccXzwLqX.ltrans0.ltrans.o: In function `loop': /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:50: undefined reference to `NFC_Module::InListPassiveTarget(unsigned char*, unsigned char, unsigned char, unsigned char*, unsigned char)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:59: undefined reference to `NFC_Module::puthex(unsigned char*, unsigned long)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:65: undefined reference to `NFC_Module::MifareAuthentication(unsigned char, unsigned char, unsigned char*, unsigned char, unsigned char*)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:81: undefined reference to `NFC_Module::MifareReadBlock(unsigned char, unsigned char*)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:85: undefined reference to `NFC_Module::puthex(unsigned char*, unsigned long)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:90: undefined reference to `NFC_Module::MifareReadBlock(unsigned char, unsigned char*)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:94: undefined reference to `NFC_Module::puthex(unsigned char*, unsigned long)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:99: undefined reference to `NFC_Module::MifareReadBlock(unsigned char, unsigned char*)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:103: undefined reference to `NFC_Module::puthex(unsigned char*, unsigned long)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:108: undefined reference to `NFC_Module::MifareReadBlock(unsigned char, unsigned char*)' /Users/Navid/Downloads/nfc-pn532-master/examples/nfc_mifare_mf1s50_reader/nfc_mifare_mf1s50_reader.ino:112: undefined reference to `NFC_Module::puthex(unsigned char*, unsigned long)' collect2: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino/Genuino Uno.
دیدگاه