Need help for Adafruit nRF52840 compile

I use Arduino IDE 1.18.3.
I can compile sample code / my code with Mac OSX10.14.
but compile error happened with Mac OSX10.15 and OSX11.
somebody knows how to solve this problem ?
thank you.
masahiro

you should post the code using "</>" icon and error msgs as text (not images)

/Users/masahirokahata/Documents/Arduino/libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.cpp:53:48: error: expected primary-expression before ',' token
53 | HID_REPORT_ID ( REPORT_ID_KEYBOARD ),
| ^
/Users/masahirokahata/Documents/Arduino/libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.cpp:99:48: error: expected primary-expression before ',' token
99 | HID_REPORT_ID( REPORT_ID_CONSUMER_CONTROL ),
| ^
/Users/masahirokahata/Documents/Arduino/libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.cpp:113:44: error: expected primary-expression before ',' token
113 | HID_REPORT_ID( REPORT_ID_MOUSE ),
| ^

error can be many different things -- need to see code

thank you for check this.
as I told in beginning, works with OS X 10.14, but error happened with OSX10.15, OSX11.
My code is different, but Similer as followings.
File/Examples/Adafruit nRF52 Libraries/Peripheral/blemidi
other code same also same error.
all same version Arduino IDE use.

in case you know any let me know, it will be grate.

need to see the code, to see what is before "," on lines 53, 99 and 113

code is BLEHidAdafruit.cpp

53: HID_REPORT_ID ( REPORT_ID_KEYBOARD ),

99: HID_REPORT_ID( REPORT_ID_CONSUMER_CONTROL ),

113: HID_REPORT_ID( REPORT_ID_MOUSE ),

code must be secret

if these are function calls, there should be a semicolon, ";" after the closing parenthesis.

somebody check this, then show it.
so, it was delay to show up.

~/Documents/Arduino/libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.cpp

you can see all code at this.
it is just one line of function call. continue other line.
so, no need semicolon for this.

anyway, this works with OSX10.14,
not work with OSX10.15 and OSX11

again i'm providing an educated guess without seeing the complete code.

thank you.

I just wonder some other people has Similer problem or not.
I can use OSX10.14 to compile code anyway.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.