Go to Post Team 71: So good at Strategy they already have figured out next years game before the GDC has even met. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2017, 20:00
bigger0gamer bigger0gamer is offline
Registered User
FRC #1585
 
Join Date: Jan 2017
Location: Places
Posts: 3
bigger0gamer is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2017, 20:56
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is online now
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 165
nickbrickmaster is an unknown quantity at this point
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.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2017, 22:12
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 268
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
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.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2017, 10:41
bigger0gamer bigger0gamer is offline
Registered User
FRC #1585
 
Join Date: Jan 2017
Location: Places
Posts: 3
bigger0gamer is an unknown quantity at this point
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!
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2017, 14:24
bigger0gamer bigger0gamer is offline
Registered User
FRC #1585
 
Join Date: Jan 2017
Location: Places
Posts: 3
bigger0gamer is an unknown quantity at this point
Re: Unable to upload code to RoboRIO

Quote:
Originally Posted by Peter Johnson View Post
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?)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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