Go to Post I highly doubt the game has anything to do with water... - rotolomi [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2016, 19:48
Bitbucket Bitbucket is offline
Registered User
FRC #3257
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Sacramento
Posts: 5
Bitbucket is an unknown quantity at this point
Can't get Eclipse to work under ubuntu

I'm having trouble getting eclipse to recognize wpilib and networktables under ubuntu. I was successful installing eclipse and the support files under Windows 10, but when I follow the procedure to install on ubuntu I get the following error when eclipse starts:
Unable to install tools: Exception occurred executing command line...see Console for details
install cpp
install java
install tools

When I create a simple project that creates Robot.java, eclipse indicates that it cannot find the edu... jar files, and indeed I can't find them on the disk either. I think I followed all the instructions for installation.

This is my first year as a mentor and my goal is to try the FRC Simlulation software so I can learn more about programming the robot and be able to help students.

Can anyone offer suggests as to where I might have gone off track?

Thanks
Bob
  #2   Spotlight this post!  
Unread 17-01-2016, 19:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Can't get Eclipse to work under ubuntu

If I had to guess, I would say it's due to https://usfirst.collab.net/sf/go/artf3977.

What does the console say?
  #3   Spotlight this post!  
Unread 17-01-2016, 20:13
Bitbucket Bitbucket is offline
Registered User
FRC #3257
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Sacramento
Posts: 5
Bitbucket is an unknown quantity at this point
Re: Can't get Eclipse to work under ubuntu

Hmm... could be..

I hate to be such a dummy, but I'm having trouble figuring out how to see the 'Console'. There appear to be multiple consoles based on the perspective, and I haven't found the right button to push to see the console that might have more info about this error.

I was able to find the jar files in the following directory:
/home/bob/.eclipse/org.eclipse.platform_4.5.1_1473617060_linux_gtk_x8 6_64/plugins
These are the wpilib jars I found:
edu.wpi.first.wpilib.plugins.core_0.1.0.2016011519 23.jar
edu.wpi.first.wpilib.plugins.cpp_0.1.0.20160115192 3.jar
edu.wpi.first.wpilib.plugins.java_0.1.0.2016011519 23.jar
edu.wpi.first.wpilib.plugins.riolog_0.1.0.20160115 1923.jar

Is that the proper directory for these? Or should they have been moved to some other directory and something went wrong with that move?

Thanks
Bob

Last edited by Bitbucket : 17-01-2016 at 20:30. Reason: Added Information
  #4   Spotlight this post!  
Unread 18-01-2016, 17:33
Bitbucket Bitbucket is offline
Registered User
FRC #3257
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Sacramento
Posts: 5
Bitbucket is an unknown quantity at this point
Re: Can't get Eclipse to work under ubuntu

It looks like the problem was related to permissions to directories under my home directory (/home/bob). Chasing down the stack traces I found that certain directories didn't exist (such as /home/bob/wpilib/tools). I created them manually and still had problems. But once I change the owner (chown command) and group (chgrp command) of the directories under wpilib to 'bob' instead of root everything worked.

Last edited by Bitbucket : 19-01-2016 at 11:10. Reason: Improved answer
Closed Thread


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 03:14.

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