It looks like that error is coming from the full desktop Visual Studio compiler. What version of Visual Studio (full, not vs code) do you have installed. For the Romi setup to work, you need the latest update for Visual Studio 2019. Older versions will not work.
To clarify, is Visual Studio 2019 required for Romi/C++ to work at all? Or is it only required if there are earlier Visual Studio versions already present?
I just tried running RomiReference (with “Enable Desktop Support” checked) on a machine that had no Visual Studio at all, but did have all the VSCode stuff. I got the errors below. After installing Visual Studio they went away:
Configure project :
INFO: Could not find files for the given pattern(s).
Task :assemble FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:assemble’.
No buildable binaries found:
- executable ‘frcUserProgram:debug:executable’:
- No tool chain is available to build for platform ‘windowsx86-64’:
- Tool chain ‘visualCpp’ (Visual Studio):
- Could not locate a Visual Studio installation, using the command line tool, Windows registry or system path.
- Tool chain ‘gcc’ (GNU GCC):
- Could not find C compiler ‘gcc’ in system path.
- Tool chain ‘clang’ (Clang):
- Could not find C compiler ‘clang’ in system path.
- Tool chain ‘roborioGcc’ (RoboRioGcc):
- Don’t know how to build for platform ‘windowsx86-64’.
- executable ‘frcUserProgram:release:executable’:
- No tool chain is available to build for platform ‘windowsx86-64’:
- Tool chain ‘visualCpp’ (Visual Studio):
- Could not locate a Visual Studio installation, using the command line tool, Windows registry or system path.
- Tool chain ‘gcc’ (GNU GCC):
- Could not find C compiler ‘gcc’ in system path.
- Tool chain ‘clang’ (Clang):
- Could not find C compiler ‘clang’ in system path.
- Tool chain ‘roborioGcc’ (RoboRioGcc):
- Don’t know how to build for platform ‘windowsx86-64’.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.