VexCode Error

When I try and download my code to our robot i keep getting all of these errors saying ‘robot-config.h’ not found and ‘vex.h’ file not found either.

our code

heres the Problems that it read.

image

did you delete or move vex.h ? Does the program build ?

5 Likes

Jpearman is most likely correct, for a way to fix the issue, update your vexcode, and make a new project, dont tinker with any of the other files and use the graphical motor interface.

1 Like

jpearman didn’t say that. There isn’t anything wrong with writing out your own declarations, and often it is just as fast as doing it with the interface from my experience, especially if you have something plugged in that isn’t in the interface (e.g. jumper pin)

Also @mw_7838 could you post a picture of the sidebar in VEXcode?

1 Like

It does build but I never moved the vex.h file

You are missing a few header and cpp files like jpearman said. I would make a new project and copy over the old code to main.cpp

2 Likes

Thank you. I made a new project and it worked. I had use a flash drive.

1 Like

I recommended that because not configuring correctly could cause errors in later use, just trying to reinforce his statement and give a solution.