OCCRA
Go to Post There is nothing that says 'gracious professionalism' like making brunch for your opponents. - Monochron [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 08-16-2018, 12:33 PM
JDeal613 JDeal613 is offline
Registered User
FRC #2851 (Crevolution)
Team Role: Programmer
 
Join Date: Aug 2018
Rookie Year: 2014
Location: Michigan
Posts: 1
JDeal613 is an unknown quantity at this point
Using Static Library With GradleRio

This year my team has decided to make the switch from Java to C++ so over the summer I've been rewriting our utility library. When manually compiling and linking it works fine, however, I can not get it to work with GradleRIO. The method used for linking libraries in GradleRio-C no longer seems to work and I don't see an example of this in the full spec build.gradle in the readme on Github. Does anyone know of a solution for this?

Note: I am using the latest version of GradleRio and am using the build.gradle file from the example c++ project
Reply With Quote
  #2   Spotlight this post!  
Unread 09-03-2018, 03:50 PM
sjcbulldog sjcbulldog is offline
Registered User
FRC #1425
 
Join Date: May 2016
Location: West Lin, OR
Posts: 5
sjcbulldog is an unknown quantity at this point
Re: Using Static Library With GradleRio

Had the same issue. See the following issue in the gradlerio github repository. With the fix there we are using static libraries with no problem.

You have to add additional components for the static libraries and then add dependencies to the main app. This then breaks with the current gradlerio but works with the latest versions. But to get the latest version you must follow the instructions on the linked issue.


https://github.com/wpilibsuite/GradleRIO/issues/139

Sjcbulldog
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 12:38 AM.

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


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