-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ant compile-tests, is failing #2
Comments
Thanks, fixed with LWJGL/lwjgl3@11a2e74. |
I don't even have this repository cloned on my laptop after the first delete. I simply followed the instructions again, ensuring this time I had set ANDROID_SDK_HOME
It makes no mention, ironically, of needing the repository it is the readme for, nor where I should put said repository. I couldn't checkout android this time either, so had to create that branch from master/android, again, missing this repo entirely. |
I'm not sure what problem you're having exactly. This repository contains a simple android project, which depends on an android build of lwjgl3. There are no released builds of lwjgl3 for android, so that means you must build it manually. You can clone and build lwjgl3 (by following the instructions) in any folder. You then copy This process is not meant to be particularly easy, normally you'd just download lwjgl3 for android from the site or maven central. Please understand that this repository is a work-in-progress. If you simply want to try out the demos, you can download pre-built APKs from here. |
I've built lwjgl3, I then had to create the android branch from master/android because it was missing. As it stands I have no android folder in bin. Perhaps you could verify this for me as I can't locate (again) the instructions other than those on the android-test github page which I quoted above. This is the content of my lwjgl3 directory:
And this the bin:
If there are some other instructions, I'd be happy to follow them. Thank you. |
This is backwards. You must first checkout the android branch and then build lwjgl3.
I'm not sure how it can be missing, it's right here. This should work:
There are no other instructions. Running "ant compile-templates aar" should produce the android binaries. If you mean general instructions for lwjgl3, see doc/README and the wiki.
This means you did a standard Linux build, instead of an Android build. The only thing you need to do to enable the Android build is If you're still having trouble, please post the build output. |
Hmm, when you say "here" it appears slightly different to the lwjgl I thought I needed, https://github.com/LWJGL/lwjgl3, and indeed had acquired by following your instructions:
I do have some android folder, but they contain nothing more significant than view->Surface.java If I knew where to find the build output I would have checked it, as the command line (used to) advised, here is the command line output:
|
It's the same repo. I just linked to the
Then you haven't updated to the latest commit. It sounds like you're having trouble with git.
My suggestion is: try a fresh clone of lwjgl3. Do not use your fork, unless you're sure how to properly keep it synchronized with the upstream repository. The android branch in your fork has not been updated with the latest changes. |
works but doesn't give android folder in the root or bin directory. so I try
and this is what I get:
|
I can't reproduce it. Did you export |
Yes, that is set.
Whereupon it stops with
Which looks pretty much like my original issue, although now I'm back using my using my fork, since it is no worse than yours. |
On Linux Mint 17.3 I get the following every time I run "ant compile-tests". I've deleted the whole directory and started over once already.
[kotlinc] info: Kotlin Compiler version 1.1.0-rc-91
[kotlinc] /home/xxxxx/lwjgl3/modules/templates/src/main/kotlin/org/lwjgl/system/android/AndroidTypes.kt:20:15: error: unresolved reference: android
[kotlinc] val Surface = android.view.Surface::class.jobject
[kotlinc]
LWJGL built fine itself, but that was an additional step not outlined here.
Also I didn't have android branch locally and had to fetch using
"git checkout -t origin/android"
The text was updated successfully, but these errors were encountered: