VCS not compiling code after 650 lines?


#1

After coding over 650 lines for my robot, VCS won’t compile my program anymore and it doesn’t compile any program no matter if it is the built-in examples or a previously working program. I reinstalled VCS multiple times and it still doesn’t work. Anyone ran into a similar problem before?


#2

Did you check to see if there are any errors in your code. You can look at the console to see problems. I have more than 1000 lines of code and it works fine.


#3

@Kselva20 I did, and there are no errors. At the moment, the code compiles and uploads to the bot but it’s unreliable as in I had to try compiling multiple times before it actually compiles.


#4

Yet another reason that I don’t trust V5


#5

The other programming options for V5 (PROS, Robot Mesh Studio, and probably MATLAB/Simulink too) do not feel like beta quality software. Only VCS feels that way.


#6

https://vexforum.com/t/faded-v5-screen-with-streaks/50978/1
https://vexforum.com/t/possible-v5-cotroller-problems/50304/1
https://vexforum.com/t/v5-brain-not-turning-on-with-full-battery-charge/50895/1
https://vexforum.com/t/v5-battery-cable/50693/1


#7

What do any of those have to do with this thread?


#8

i was just backing up my argument against V5


#9

also, i have never had a compiling problem in all my 4 years of robotC


#10

All I was saying was that, for most people, the usability of VCS should have no bearing on the usability of V5. I made no comment about the reliability of the V5 hardware.


#11

What does your program look like with 1000+ lines of code? (:0 Sorry off topic just super curious)


#12

int x=0;

x=0;
x=0;

x=0;

Not to say that gcc does not pick up on the futility of such code… but…


#13

Anyways, it’s working for now. Really hoping someone can write a plugin for Visual Studio so I can directly upload from there… :frowning:


#14

For VCS? It’s basically impossible (unreasonable amount of effort for little return) unless VCS is updated to include an official CLI.

If you’re using Visual Studio, why not just use PROS? You probably know enough real C/C++ to do so if you can successfully set up and use Visual Studio.


#15

Wait, what about notVCS? That was released a while ago


#16

I’m working on a Visual Studio Code extension for PROS. Even though the work done in terminal isn’t super complicated.


#17

If you’re actually actively working on this, feel free to reach out to us. We’ve been working on a new system to make it easier to build plugins for IDEs


#18

NotVCS does not concern compiling or uploading; it does not allow you to compile or upload from anything outside of VCS.
NotVCS only grants you the ability to read and write VCS code outside of VCS; you have to still use the VCS GUI to compile and upload.

In other words, NotVCS is merely a workaround for a major regression between RobotC and VCS. It does not grant any additional features on top of that.


#19


Idk man, seems like you can download outside of VCS :slight_smile:


#20

I stand corrected.

I still don’t see the point of using VCS4CMD though, since PROS exists.