Go to Post Originality in Sponsorship can get you a lot of places. - MysterE [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 08-01-2015, 19:32
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
WPILib-J source code

I know that WPILib-Java is supposed to be open-source, but I'm not having much luck tracking down an easily-accessible source for it that doesn't come with the KoP itself. Does anyone know of a canonical location for getting it?
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2015, 19:34
Ben Wolsieffer Ben Wolsieffer is online now
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: WPILib-J source code

https://usfirst.collab.net/sf/projects/wpilib/

Look in the source code tab.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2015, 19:38
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: WPILib-J source code

Any attempt to "Browse Repository", on three different machines, results in a blank screen for me.
__________________


GSR Dean's List Finalist 2011

Last edited by demosthenes2k8 : 08-01-2015 at 19:42.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2015, 19:41
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,560
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: WPILib-J source code

Read the note at the link provided.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-01-2015, 19:41
Ben Wolsieffer Ben Wolsieffer is online now
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: WPILib-J source code

Yeah, I just realized that. I have an account from beta-testing the simulator so I was able to access it. I thought I saw a thread earlier that said they allowed anonymous access recently. Maybe someone who works on it will see this thread.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2015, 19:43
Ben Wolsieffer Ben Wolsieffer is online now
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: WPILib-J source code

Oh, well I guess I should have read more carefully too.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2015, 19:43
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: WPILib-J source code

Aah, right. Figures that the way to see the source code wouldn't be under the "source code" section...thanks.
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #8   Spotlight this post!  
Unread 10-01-2015, 13:07
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: WPILib-J source code

So, I'm still having a bit of trouble - I'm not very familiar with Maven, but I'm trying to use it to build and install WPIlib from source in a TravisCI instance - I have the FRC toolchain installed, but it seems to have an issue with cmake?

The Travis run is here, line 1300. I don't quite know what I'm doing with this, but it's running into some kind of cmake issue somewhere? Also, I know the "cp" commands aren't the right way to "install", I was playing around with them...
__________________


GSR Dean's List Finalist 2011

Last edited by demosthenes2k8 : 10-01-2015 at 13:26.
Reply With Quote
  #9   Spotlight this post!  
Unread 10-01-2015, 13:41
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by demosthenes2k8 View Post
So, I'm still having a bit of trouble - I'm not very familiar with Maven, but I'm trying to use it to build and install WPIlib from source in a TravisCI instance - I have the FRC toolchain installed, but it seems to have an issue with cmake?

The Travis run is here, line 1300. I don't quite know what I'm doing with this, but it's running into some kind of cmake issue somewhere? Also, I know the "cp" commands aren't the right way to "install", I was playing around with them...
We've seen this issue on 64-bit machines before. Try installing the 32-bit multilib version of libc.
Reply With Quote
  #10   Spotlight this post!  
Unread 04-03-2015, 19:10
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 47
robert1356 is an unknown quantity at this point
Re: WPILib-J source code

I'm trying to rebuild the wpilibj, I'm running on a Mac OS 10.9.5. What version of Maven do I need and what version of Java? I've tried Maven3 and got an error when it tried to pull in some packages. I tried Maven2 and it's throwing a Java exception: Invalid JDK version in profile 'docline-java8-disable'

I am only trying to build the wpilibj, so I navigated to the wpilibj folder and executed: mvn package

I left out the -D.... that was in the .md file because that appears to be the info that allows building of the ARM JVM installer.
Reply With Quote
  #11   Spotlight this post!  
Unread 04-03-2015, 19:46
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 47
robert1356 is an unknown quantity at this point
Re: WPILib-J source code

I got it to run by using maven3 and Java7.

Now I'm getting the following when I execute 'mvn package' from the wpilibj folder:

[ERROR] Failed to execute goal on project wpilibJava: Could not resolve dependencies for project edu.wpi.first.wpilibj:wpilibJava:jar:0.1.0-SNAPSHOT: Could not find artifact edu.wpi.first.wpilib.networktables.java:NetworkTab les:jar:0.1.0-SNAPSHOT -> [Help 1]

I moved to the NetworkTables folder and built it using 'mvn package' then switched back to the wpilibj folder and still receive the same error.

Any suggestions out there? I've never used maven before, so I'm running blind.
Reply With Quote
  #12   Spotlight this post!  
Unread 05-03-2015, 20:52
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Try running the build from the top level folder. It should be able to resolve all dependencies from there.
Reply With Quote
  #13   Spotlight this post!  
Unread 06-03-2015, 00:21
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 47
robert1356 is an unknown quantity at this point
Re: WPILib-J source code

Quote:
Originally Posted by fsilberberg View Post
Try running the build from the top level folder. It should be able to resolve all dependencies from there.
I assumed that, but I really didn't want to build the whole thing (c++ and all), I am just trying to rebuild the main wpilib java. Plus, it means I have to include the ARM-JVM. I'll try it though.
Reply With Quote
  #14   Spotlight this post!  
Unread 06-03-2015, 00:47
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
We don't support building just the one currently. You'd need the arm jdk anyway, WPILibJDevices (which has all the interesting stuff) depends on the jni project, which needs the header files in the arm jdk package. If you have any other questions, please post or feel free to send me a message.
Reply With Quote
  #15   Spotlight this post!  
Unread 06-03-2015, 17:13
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 47
robert1356 is an unknown quantity at this point
Re: WPILib-J source code

where can I find the arm-frc-linux-gnueabi-gcc compiler? This is missing in my setup. I obviously need to install it from somewhere. I'm familiar with getting a standard arm cross compiler, but I've never seen an 'frc' specific version.
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 18:36.

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