View Single Post
  #1   Spotlight this post!  
Unread 27-03-2016, 23:24
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Issues with JNI .so for FRC

Quote:
Originally Posted by connor.worley View Post
and running into an error resolving _ZN5nFPGA16nFRC_2016_16_1_020g_currentTargetClassE . Does anyone know what static library provides this? We are already using all static libraries available in wpilib/cpp/current/lib.
Code:
austin[23463] iron ~/local/robotics/971-Robot-Code/bazel-971-Robot-Code/external/allwpilib_ni_libraries_repo
$ grep -R "_ZN5nFPGA16nFRC_2016_16_1_020g_currentTargetClassE" ./
Binary file ./libFRC_NetworkCommunicationLV.so.16.0.0 matches
Binary file ./libRoboRIO_FRC_ChipObject.so.16.0.0 matches
austin[23464] iron ~/local/robotics/971-Robot-Code/bazel-971-Robot-Code/external/allwpilib_ni_libraries_repo
$ c++filt 
_ZN5nFPGA16nFRC_2016_16_1_020g_currentTargetClassE
nFPGA::nFRC_2016_16_1_0::g_currentTargetClass
austin[23461] iron (master) ~/local/robotics/971-Robot-Code
$ git grep g_currentTargetClass
third_party/allwpilib_2016/hal/lib/Athena/FRC_FPGA_ChipObject/nInvariantFPGANamespace/nInterfaceGlobals.h:   extern unsigned int g_currentTargetClass;
third_party/allwpilib_2016/hal/lib/Athena/FRC_FPGA_ChipObject/nRoboRIO_FPGANamespace/nInterfaceGlobals.h:   extern unsigned int g_currentTargetClass;
third_party/allwpilib_2016/hal/lib/Athena/FRC_FPGA_ChipObject/nRuntimeFPGANamespace/nInterfaceGlobals.h:   extern unsigned int g_currentTargetClass;
Looks like part of libRoboRIO_FRC_ChipObject.so