Closed caliban17 closed 7 years ago
I'm sorry but I cannot re-create your problem. I do not have an Arduino nano available however I can do a compile without uploading using Ctrl-R command. I was able to successfully compile for Nano using either the 328 or 168 processors. On the 168 I get a warning that we've nearly used up all available memory that I don't get any compile errors. I too am using Arduino IDE 1.8.1 on a Windows 10 PC. Just to make sure I was really using the right version of my own code, I archived my own files, downloaded everything from GitHub and try to recompile again. I still can't re-create your errors. I welcome anyone else's suggestions.
Issue solved. Thanks for your time. I re-downloaded the library, and then discovered that I had originally installed it in the arduino IDE library rather than my sketchbook library. With it installed in the correct place, the sample sketches compiled fine.
The example sketch rawRecv.ino compiles & runs fine, as do the various 'sending' examples, but When I try to compile the example record.ino for my Nano ,on the arduino IDE (1.81) get these errors:
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0,
C:\Program Files (x86)\Arduino\libraries\IRLibProtocols/IRLibHardware.h:283:33: error: invalid use of 'extern' in linkage specification
define IR_RECV_INTR_NAME ISR(TIMER2_COMPA_vect,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibRecv\IRLibRecv.cpp:84:5: note: in expansion of macro 'IR_RECV_INTR_NAME'
ISR(IR_RECV_INTR_NAME,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibProtocols/IRLibHardware.h:283:33: error: expected unqualified-id before string constant
define IR_RECV_INTR_NAME ISR(TIMER2_COMPA_vect,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibRecv\IRLibRecv.cpp:84:5: note: in expansion of macro 'IR_RECV_INTR_NAME'
ISR(IR_RECV_INTR_NAME,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibRecv\IRLibRecv.cpp:84:23: error: '__vector_7' declared as function returning a function
ISR(IR_RECV_INTR_NAME,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibProtocols/IRLibHardware.h:283:33: error: expected unqualified-id before string constant
define IR_RECV_INTR_NAME ISR(TIMER2_COMPA_vect,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibRecv\IRLibRecv.cpp:84:5: note: in expansion of macro 'IR_RECV_INTR_NAME'
ISR(IR_RECV_INTR_NAME,ISR_NOBLOCK)
C:\Program Files (x86)\Arduino\libraries\IRLibRecv\IRLibRecv.cpp:84:1: error: '__vector_7' declared as function returning a function
ISR(IR_RECV_INTR_NAME,ISR_NOBLOCK)
^
exit status 1 Error compiling for board Arduino Nano.