Author Topic: Compilation error  (Read 2371 times)

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Compilation error
« on: November 11, 2013, 12:57:53 pm »
I got this message, during the export signed application package.

Code: [Select]
[2013-11-11 12:54:26 - Game] Proguard returned with error code 1. See console
[2013-11-11 12:54:26 - Game] Warning: com.threed.jpct.BufferUtilNative: can't find referenced class com.badlogic.gdx.utils.BufferUtils

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Compilation error
« Reply #1 on: November 11, 2013, 02:44:50 pm »
Shouldn't be a problem. That happens because no libgdx can Bd bound in the path. There's an option to add it and use it for faster buffer uploads on old devices.

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Compilation error
« Reply #2 on: November 11, 2013, 02:49:12 pm »
I solved it by these lines

Code: [Select]
-dontwarn com.badlogic.gdx.**
-dontnote com.badlogic.gdx.**

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Compilation error
« Reply #3 on: November 11, 2013, 02:57:14 pm »
It's just a warning. Does this cause any problem except for a cosmetic one?
« Last Edit: December 14, 2013, 09:42:10 pm by EgonOlsen »

Offline Irony

  • long
  • ***
  • Posts: 151
    • View Profile
Re: Compilation error
« Reply #4 on: December 14, 2013, 09:01:40 pm »
Yes, warnings seem to be treated as fatal errors in Proguard, at least when executed from Eclipse.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Compilation error
« Reply #5 on: December 14, 2013, 09:41:20 pm »
They just do what Thomas. suggested in the post above. I can do nothing about this except to remove support for Libgdx...which maybe i should do because it's rather pointless on current devices anyway.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: Compilation error
« Reply #6 on: December 14, 2013, 09:50:36 pm »
Ok, i decided to remove it for the next release. Nobody is using it anyway as far as i know.