Vex Coding Studio Blocky coding error

So…
I’m trying to download a code onto the v5 cortex except it’s giving me this error: 19:56:19 – error – In file included from …/vexv5/gcc/include\sys/reent.h:13:
…/vexv5/gcc/include_ansi.h:16:10: fatal error: ‘sys/config.h’ file not found
#include

Any idea how to fix it?

Here is our code BTW:
when(STARTED){
broadcast(AUTONMOUS);
Brain.setTimer(15,seconds);
}

when(AUTONMOUS){
if((Brain.timer(seconds)==0)){
DriveLeft.stop();
DriveRight.stop();
ClawLeft.stop();
ClawRight.stop();
}else{
forever{
ClawRight.spin(forward);
ClawLeft.spin(forward);
}
DriveLeft.rotateFor(1.23,revolutions);
DriveRight.rotateFor(1.23,revolutions);
DriveLeft.stop();
DriveRight.stop();
DriveLeft.rotateFor(-1.23,revolutions);
DriveRight.rotateFor(-1.23,revolutions);
DriveLeft.stop();
DriveRight.stop();
}
}

try to create another file and paste the whole thing to the new file

I don’t think this is Blockly. Did you mean Modkit?

1 Like