Hi! I am very new to vex and very new to coding in C++. I installed visual studio, the CL compiler Microsoft recommended me on their support guide, and and the Vex extension in the hope I could help me robotics team program our robot, however I have experienced multiple errors before I even get to run the code. the main one is the error:
launch: program " does not exist
it then provides me with the launch.json fie
i have read multiple guides on solving this and most of them have pointed me towards the compiler. any help would be appreciated!
I’m not sure but at the "configurations": [
line I’m not sure if the[
actually close up somewhere and that might be the error
So you don’t actually need a launch.json file in order to build/download projects to your VEX Brain.
I would check out these two kb articles:
VS Code New Project for V5
UI Overview
The first article will walk you through creating a new project.
The second article will give an overview of the UI elements that the VEX Extension add to the vscode.
I don’t have a brain to export anything to yet. Is there a way I can get it to export to somewhere like the console at the bottom? that way I can at least verify my code works? when I try and just run my code like a normal program It just tells me that “filename.exe does not exist”.
Could you elaborate, what do you mean by export?
- How are you trying to build/run your program?
- Are you using the debug file option provided by vscode?
Unfortunately, we don’t provide any sort of brain emulator that would allow you to test code locally on your computer. Also, the VEX Extension does not support local debugging or settings break points. So the “debug a file” option that vscode provides to debug or run your code locally. doesn’t not work.
If your programming in C++ and want to check if things “work” you would normally build or compile the program.
But it seems like your environment is not set up correctly?
This article has something about your problem. Configure Visual Studio Code for Microsoft C++
update: I have decided to switch from visual studio to VEXcode Pro v5. While I am aware that is no longer supported officially, It still seems like a very user friendly and viable option to work in. I see no real reason to keep bothering with Vscode, given that I am not getting anywhere and I am no use to my team just sitting here trying to get it to even work. I’m not aware of any rules or guidelines prohibiting me from using it, so I think this is the most realistic option for me to keep moving forward. Thank you all for the help!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.