|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using ntcore library c++
I am trying to use the ntcore library (github mirror link: https://github.com/wpilibsuite/ntcore) in order to communicate with the roborio from the jetson.
However, I'm not exactly sure how to compile and link the library. Could someone walk me through it? |
|
#2
|
||||
|
||||
|
Re: Using ntcore library c++
I was able to successfully compile it on a raspberry pi using the default command they give you in the readme. The Jetson is an ARM processor right?
Try running: Code:
./gradlew :arm:build Code:
-I /path/to/lib/folder -l -ntcore |
|
#3
|
|||
|
|||
|
Re: Using ntcore library c++
I've done everything that you've suggested, jreneew2, except for the "-I /path/to/lib/folder." I am unsure what "path/to/lib/folder" refers to.
|
|
#4
|
|||
|
|||
|
Re: Using ntcore library c++
"/usr/bin/ld: cannot find -lntcore collect2: error: ld returned 1 exit status"
Is the linker error that I'm currently getting. |
|
#5
|
||||
|
||||
|
Re: Using ntcore library c++
So your include path is where ntcore was compiled. So probably something like /home/ntcore/bin/ntcore/lib.a
|
|
#6
|
|||
|
|||
|
Re: Using ntcore library c++
Got it working. Thanks for the help.
|
|
#7
|
||||
|
||||
|
Re: Using ntcore library c++
No problem.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|