View Single Post
  #9   Spotlight this post!  
Unread 20-03-2016, 02:11
Peter Johnson Peter Johnson is online now
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 255
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: Send data from raspberry pi to roboRIO using c++

Quote:
Originally Posted by jreneew2 View Post
This is what I used to compile:

g++ -std=c++0x -I<ntcore/include> -lntcore vision.cpp -o test_colour `pkg-config --cflags --libs opencv`
To be clear, I didn't literally mean "-I<ntcore/include>" but rather the location where the ntcore/include directory is, e.g. -I/home/something/ntcore/include. Also it may have trouble finding -lntcore without a -L/home/something/ntcore/build/...
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)