Go to Post Honesty and integrity should always be taken seriously. It's the lubrication that makes the world go round. - rsisk [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 08-01-2017, 00:03
Darksainor Darksainor is offline
Registered User
FRC #4635
 
Join Date: Jan 2017
Location: México
Posts: 2
Darksainor is an unknown quantity at this point
Error while trying to setup NetworkTables on PC

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
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi