Hello, my team and I are currently trying to implement vision processing on our robot, in order to do so we will have a PC perform all the work and send the data to the roboRio through a NetworkTable, the problem is that i cant seem to build the .cpp file for setting up the PC side of the program. Here are both the program and the output when I attempt to build it.
Program (This is just for testing and learning purposes):
#include <ntcore.h>
#include <networktables/NetworkTable.h>
using std::shared_ptr;
int main() {
NetworkTable::SetClientMode();
NetworkTable::SetIPAddress("10.46.35.2");
NetworkTable::Initialize();
shared_ptr<NetworkTable> myTable = NetworkTable::GetTable("SmartDashboard");
myTable->PutString("ExampleString", "Sample Text");
NetworkTable::Shutdown();
return 0;
}
Output:
https://drive.google.com/file/d/0By8...NIYnVTeEU/view
I see that the problem is related to something caller llvm, but I cant seem to find a way to fix this, please help :c