View Single Post
  #3   Spotlight this post!  
Unread 21-01-2017, 16:29
Henry Loh Henry Loh is offline
Registered User
FRC #5104
 
Join Date: Jan 2017
Location: Pacific Grove, Ca.
Posts: 7
Henry Loh is an unknown quantity at this point
Re: C++ NetworkTables

Quote:
Originally Posted by virtuald View Post
If you search for "networktables" on the WPILib screensteps site one of the top results is this page, which links to various binary artifacts.

https://wpilib.screenstepslive.com/s...aven-artifacts
Thanks for the link, I found the C++ repo for Network Tables, and built (and then linked to) it successfully on a Mac.


Now, however, I am trying to build the same repo

https://github.com/wpilibsuite/ntcore.git

on my Raspberry Pi.

Cloning the repo worked fine, and even building it with './gradlew :native:build' worked fine. The problem is that despite gradle saying the build succeeded, I cannot find the libntcore.a library anywhere on the RPi.

Running './gradlew build' does not work (throwing an error with the g++ -m32 arg) but I don't think it worked on a Mac either.

Any advice is much appreciated,
Henry Loh
Reply With Quote