Go to Post Remind me again why anyone, my team included, is stupid enough to keep going to week 1 events? - Madison [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 27-03-2016, 21:47
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Issues with JNI .so for FRC

We are attempting to build a JNI shared library for use in our java code. We are using ant to build the library as follows:
Code:
  <target name="CowMXP_JNI-build">
      <echo>Building CowGyroJNI shared object for RoboRIO...</echo>
      <apply executable="/usr/local/bin/arm-frc-linux-gnueabi-g++">
      <arg value="-I${user.home}/wpilib/cpp/current/include"/>
          <arg value="-I${java.home}/../include"/>
          <arg value="-I${java.home}/../include/darwin"/>
          <arg value="-std=c++14"/>
          <arg value="-fPIC"/>
          <arg value="-shared"/>
          <arg value="-oCowMXP_JNI.so"/>
          <arg value="-Wl,--whole-archive"/>
          <arg value="-L${user.home}/wpilib/cpp/current/lib"/>
          <arg value="-lwpilib_nonshared"/>
          <arg value="-lntcore"/>
          <arg value="-lHALAthena"/>
          <arg value="-Wl,--no-whole-archive"/>
          <fileset dir="src/com/team1538/lib/c">
            <include name="*.cpp"/>
        </fileset>
      </apply>
  </target>
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.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
 


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 10:58.

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