Go to Post Robot teams will expand to fill the available space. - topgun [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2017, 01:27
balloman balloman is offline
Sophomore Programmer
AKA: Bernard
FRC #0034 (Rockets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Athens, AL
Posts: 17
balloman is on a distinguished road
C++ Network Tables

Ok, well I have recently been developing Network tables on our Nvidia Jetson, and have been testing out code in Windows using Visual Studio. Our only problem is that I can't seem to figure out how to get the .lib file so that I can compile and run in Visual Studio. It seemed to be in previous versions of the Network Tables library, but I don't know how to get it with the latest version. How can I do that?
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2017, 02:00
Thad House Thad House is online now
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,106
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: C++ Network Tables

Quote:
Originally Posted by balloman View Post
Ok, well I have recently been developing Network tables on our Nvidia Jetson, and have been testing out code in Windows using Visual Studio. Our only problem is that I can't seem to figure out how to get the .lib file so that I can compile and run in Visual Studio. It seemed to be in previous versions of the Network Tables library, but I don't know how to get it with the latest version. How can I do that?
Are you using VS 2013 or 2015? And are you locally building ntcore, or just downloading the artifacts from the WPILib Maven server?

If you are using the maven artifacts, for VS 2013, you need to use the artifacts in the desktop classifier. If using VS 2015, you need to use the Windows 2015 classifier. Also note you need to have wpiutil linked as well, as that is also a native dependency. Make sure the classifiers match between the 2.

If locally building ntcore, make sure you are linking to both ntcore and wpiutil. wpiutil is built at the same time as ntcore, and is in the arm/build/wpiutil folder after the gradle build occurs, instead of arm/build/ntcore.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote
Reply


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 13:37.

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