Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Help with building examples #3

Open
kyeshmz opened this issue Aug 30, 2017 · 8 comments
Open

Help with building examples #3

kyeshmz opened this issue Aug 30, 2017 · 8 comments

Comments

@kyeshmz
Copy link

kyeshmz commented Aug 30, 2017

Hey, great work your doing here. Especially with the short time span from the release.

Running macOS 10.12.16
OF git stable - 0.9.8

I have a lot of android studio errors, specifically having problems with the gradle versioning.
I seem to get a make error 2 from android studio, and I see that the trouble shooting would want to switch out the version from the ofxAndroid, but it still doesnt work.
Any guidance you can give about this?

@HalfdanJ
Copy link
Owner

Did you follow the android studio getting started guide here: https://github.com/openframeworks/openFrameworks/blob/master/docs/android_studio.md ?

@HalfdanJ
Copy link
Owner

HalfdanJ commented Aug 30, 2017

Oh, this wont work with latest release, you need to use openFrameworks from github (0.10.0) since I've recently made a lot of android improvements.

https://github.com/openframeworks/openFrameworks/

@HalfdanJ
Copy link
Owner

I'm sorry. Releasing this addon went a bit to fast, I noticed I had some local modifications to openFrameworks that aren't in the official repo. I've made a PR for them, but in the meantime you will need my branch: https://github.com/halfdanj/openframeworks/tree/android-camera-permissions

@kyeshmz
Copy link
Author

kyeshmz commented Aug 31, 2017

Hey, thank you for the guidance. I will update the readme, just as it is a bit confusing at the current moment.
Anyone else wondering how to do so if you have your own git copy of openFrameworks,

git remote add halfdanj git@github.com:halfdanj/openFrameworks.git
git fetch halfdanj
git checkout -b mynameforhisbranch halfdanj/android-camera-permissions

I tried to compile against your branch of OF, but I get glm/glm.hpp errors.
Can you give advice about how to check the header search paths in android studio?

@HalfdanJ
Copy link
Owner

HalfdanJ commented Sep 1, 2017

Hmm

What version of android studio are you using? And I assume you use the NDK 12B for osx?

@runningman8
Copy link

I get glm/glm.hpp errors too
i just want to try this demo,and i was not that good at coding,so ,can u just give me an apk? thanks so much

@kyeshmz
Copy link
Author

kyeshmz commented Sep 19, 2017

@HalfdanJ Sorry for the late reply, the version that I am currently using is Android Studio 2.3.3, and yes I am using the NDK 12B for OSX

@HalfdanJ
Copy link
Owner

Could you try and follow this guide, and let me know if you still get issues? https://medium.com/energeia/getting-started-with-openframeworks-on-android-5202b92f6582

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants