I recently ran into a very weird… bug? glitch? Here’s the rundown:
-
When trying to deploy this code: https://bitbucket.org/teammetalcow/2013offseason/src it deploys 100% okay, but after reboot, we get a “No Robot Code” on the DS, as well as a message saying it failed to load, with a NetConsole message that there was an “Undefined reference to _ZN11VectorDrive3kPyE.”. I had edited the file (Subsystems/VectorDrive.h) which has the VectorDrive class in it, but only added a minus sign in line 140. I’m confused as to how that could cause this error.
-
Any other code/program works fine.
-
Reverting back to without the minus does not change anything. (I think that’s all I changed.)
-
A clean build does not change anything.
-
Creating a new project and copying over source does not change anything.
-
Formatting the cRIO does not change anything.
-
Deploying straight to cRIO/Over Ethernet/over WiFi does not change anything.
I’m extremely baffled. I would be overhauling the code I changed tomorrow anyways, I will see if that fixes my problems. But this is an extremely confusing problem. Has anyone ever had such an issue before?
EDIT:
Fixed it by overhauling the code that was changed.
I’m still baffled over this, though.