![]() |
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? |
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:buildCode:
-I /path/to/lib/folder -l -ntcore |
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.
|
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. |
Re: Using ntcore library c++
So your include path is where ntcore was compiled. So probably something like /home/ntcore/bin/ntcore/lib.a
|
Re: Using ntcore library c++
Got it working. Thanks for the help.
|
Re: Using ntcore library c++
No problem.
|
| All times are GMT -5. The time now is 07:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi