View Single Post
  #5   Spotlight this post!  
Unread 09-01-2017, 11:53
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 203
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Error while trying to setup NetworkTables on PC

Hello all, I have been trying to compile ntcore and cscore on a raspberry pi 3 and can not figure out the issue. Whenever I compile with

Code:
g++ -std=c++0x -I/home/pi/ntcore/include -lwpilibutil -lntcore test.cpp -o test `pkg-config --cflags --libs opencv`
The error I get is:

Code:
fatal error: llvm/ArrayRef.h: No such file or directory
I was able to successfully build the ntcore libs by doing

Code:
./gradlew :arm:build
All I have in the cpp file is #include<ntcore.h> and #include<networktables/NetworkTable.h>

Any help is appreciated
Reply With Quote