I have a 3D printer that has firmwear to run mainboard. To tweak the firmware VSCODE is used, I believe C++ ? Im as green of C++ . Every time I compile. I get a Syntax Error: INVALID SYNTAX Enviroment : LPC1769 STATUS : FAILED "THE terminal process "C:\users\MACK9\.platformio\penv\scripts\platformio.exe 'run' " terminated with exit code 1.
Terminal will be reused by tasks, press any key to close it.
You need to provide more information to get useful advices!
What is the source code you are trying to compile and where did you get it? Which C++ compiler are you using? If with "VSCODE" you mean Visual Studio Code: That is pretty much a text editor with syntax highlighting, not a C++ compiler. Yes, with the help "extensions" Visual Studio Code can be used as rudimentary IDE for various programming languages. But still, for C++ development you're going to need a C++ compiler. Probably, for C++ development, you want a "full" version of Visual Studio (the one without "Code" in the name!).
I am by no means trying to discourage you from posting here, but you might have better luck with a forum dedicated to the platform you're using, which sounds like it's called "platformio".
Does the full error message point to where in the code there might be invalid syntax? Does it point to a line number or something? There apparently is a verbose option you can specify on the command-line: