Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Unable to upload code to RoboRIO (http://www.chiefdelphi.com/forums/showthread.php?t=153883)

bigger0gamer 18-01-2017 20:00

Unable to upload code to RoboRIO
 
I'm trying to get some basic code onto the RoboRIO, and I'm getting some frustrating errors. I'm using eclipse and the code is C++ if that matters. The first time I connected to it after imaging it, it made a complaint about RSA keys and possible man in the middle attacks. I told it "Yes" to replacing the current RSA key with the new one and it asked me for the password to the "lvuser" account, which guessing "password" seemed to have work. When it goes to upload code after building, it gives this output:

Code:

Last login: Wed Jan 18 19:57:15 2017 from 10.15.85.22

gdbserver  :2345 /home/lvuser/FRCUserProgram;exit

roboRIO-1585-FRC:~$ gdbserver  :2345 /home/lvuser/FRCUserProgram;exit
Process /home/lvuser/FRCUserProgram created; pid = 3393
Listening on port 2345
Remote debugging from host 10.15.85.22
/home/lvuser/FRCUserProgram: error while loading shared libraries: libwpilibc.so: cannot open shared object file: No such file or directory

Child exited with status 127
GDBserver exiting
logout

I honestly don't know what is going on with the RoboRIO this year. Any help would be appreciated.

nickbrickmaster 18-01-2017 20:56

Re: Unable to upload code to RoboRIO
 
Not an expert, but have you imaged your roboRIO (with the 2017 image?)

I would think that the missing library is a symptom of that.

Peter Johnson 18-01-2017 22:12

Re: Unable to upload code to RoboRIO
 
Try to do a non debug deploy first. There may be an issue currently with debug deploys where they don't copy the libs.

bigger0gamer 19-01-2017 10:41

Re: Unable to upload code to RoboRIO
 
nickbrickmaster: Yes, I have imaged it with the 2017 image (specifically v8). Maybe I'm trying to use a depreciated library. I'll try dummying out all the code to a skeleton.

Peter Johnson: Didn't realize there was a difference between the two, only ever saw the WPILib deploy. I'll try a non debug deploy.

Thanks for the replys!

bigger0gamer 19-01-2017 14:24

Re: Unable to upload code to RoboRIO
 
Quote:

Originally Posted by Peter Johnson (Post 1633283)
Try to do a non debug deploy first. There may be an issue currently with debug deploys where they don't copy the libs.

THANK YOU! You were right, debug deploy was the issue. I did a non-debug deploy and it worked!

Mods: My issue is resolved, you can close this now. (I don't know how to summon people on this board yet, so if someone else know how, please summon the mods for me?)


All times are GMT -5. The time now is 15:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi