|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
C++ NetworkTables
Does anyone have the necessary files to run a C++ Network Tables client? I looked quickly but was not sure what exactly I was looking for.
Thanks, Henry |
|
#2
|
||||
|
||||
|
Re: C++ NetworkTables
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 |
|
#3
|
|||
|
|||
|
Re: C++ NetworkTables
Quote:
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 |
|
#4
|
|||
|
|||
|
Re: C++ NetworkTables
Update:
I just checked now and it turns out that './gradlew build' *does* work on the mac and is what successfully built the repo. I was under the impression that :native:build would work, but I guess not. So, when I run '.gradlew build' on the RPi, I get the error: g++: error: unrecognized command line option ‘-m32’ |
|
#5
|
|||
|
|||
|
Re: C++ NetworkTables
Nevermind, it's working fine now. I got the Maven artifacts from first, and skipped the whole native build process.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|