Quote:
Originally Posted by balloman
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.