|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
Code:
C:\Users\My Dell\wpilib\cpp\current\ant\build.xml:66: com.jcraft.jsch.JSchException: Could not send 'C:\Users\My Dell\workspace\Robot\Debug\FRCUserProgram' to '/home/lvuser' - 4: java.io.FileNotFoundException: C:\Users\My Dell\workspace\Robot\Debug\FRCUserProgram (The system cannot find the file specified) |
|
#2
|
|||
|
|||
|
Re: Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
This likely means your project didn't build. What does the Build Console show when you build the project? Do you have an FRCUserProgram in the debug folder inside your project?
|
|
#3
|
|||
|
|||
|
Re: Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
The other likely source of that error (line 66 of build.xml) is the script trying to copy your program onto the roboRIO. I usually see that when there is no connection to the robot. Can you make sure by browsing to "roborio-<yourteamnumber>.local and see if that works to verify connectivity and that the name of the roboRIO can be resolved? That usually fixes it for me.
|
|
#4
|
|||
|
|||
|
Re: Error when deploying code on to robot. build.xml:66 (C++, Eclipse)
We experienced a similar error and it turned out to be the team number not filled in under Preferences->WPILib
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|