Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AcezukyRockon opened this issue Nov 22, 2022 · 0 comments
Open

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

AcezukyRockon opened this issue Nov 22, 2022 · 0 comments

Comments

@AcezukyRockon
Copy link

AcezukyRockon commented Nov 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant