CH_HID_Arduino icon indicating copy to clipboard operation
CH_HID_Arduino copied to clipboard

Compile error: syntax error: token -> '::'

Open AcezukyRockon opened this issue 2 years ago • 0 comments

Hello. So I have setup my CH552 to be able to program and upload codes via Arduino IDE. I tried to compile a BareMinimum example and only add the library to the code. However, when I compile I get an error about "Broken pipes" and "syntax error: token -> '::'" image image I have tried googling this error but this seems to happen at some other syntax error like missing "," or missing ";". Sometime it also relates to variable being declared wrong type but I tried checking the "CH_HID_Arduino.cpp" file and haven't found anything wrong so far. Currently I have no clue what to do to fix the error. Any help is appreciated.

AcezukyRockon avatar Nov 22 '22 12:11 AcezukyRockon