I’m a bit of a newbie when it comes to compiling on the Raspberry Pi. I tried using VisualGDB, which works great for debug.
The thing is, i cannot seem to run my resulting executable on the RPi (Raspbian) without the debugger.
I’m getting an error claiming “Syntax error: word unexpected (expecting “)”).
Google searches show this error in various contexts, but none helped me solve the issue.
Does it happen when you hit Ctrl-F5, or when you launch it manually on Raspberry Pi via SSH? Do you have any special environment/command-line arguments set? Does the deployment directory path contain any special characters?
Good to know it works now. If you encounter this problem again, please attach a screenshot of the error showing the exact command you are using and SmarTTY output. This should help understand what could be causing it.