Hi,
Posted this on the android category too, but I’m not getting any answers. I’m trying to compile the projectGenerator for the 0.11.0 version for android, by running compileLinuxPG.sh and I get this output:
make: Entering directory '/home/alexandros/Applications/openFrameworks/of_v0.11.0_android_release/apps/projectGenerator/commandLine'
/home/alexandros/Applications/openFrameworks/of_v0.11.0_android_release/libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk:217: *** This package doesn't support your platform, /home/alexandros/Applications/openFrameworks/of_v0.11.0_android_release/libs/openFrameworksCompiled/project probably you downloaded the wrong package?. Stop.
make: Leaving directory '/home/alexandros/Applications/openFrameworks/of_v0.11.0_android_release/apps/projectGenerator/commandLine'
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.
I don’t think I have downloaded the wrong package as I’m on Ubuntu Studio 19.10, so this script should compile without issues.
Even though the android examples compile fine and run on my phone, I can’t get an app of my own to compile, and using the projectGenerator will probably make things a lot easier as I’m getting some linking problems.
Any idea how to compile the projectGenerator for android on a Linux machine?
Thanks
I think I see the issue.
The compileLinuxPG.sh is expecting the linux64/ platform project files - but they are being removed from the android release. So the script is unable to build the Project Generator.
If you download the linux64 release of OF and add libs/openFrameworksCompiled/project/linux64 to the android libs/openFrameworksCompiled/project folder does it work for you?
If you download the linux64 release of OF and add libs/openFrameworksCompiled/project/linux64 to the android libs/openFrameworksCompiled/project folder does it work for you?
Ok, did that and it started compiling, but then gave this error:
In file included from /home/alexandros/Applications/openFrameworks/of_v0.11.0_android_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/home/alexandros/Applications/openFrameworks/of_v0.11.0_android_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:19:10: fatal error: kiss_fft.h: No such file or directory
19 | #include "kiss_fft.h"
Maybe I should start removing lines until it compiles? But then maybe the projectGenerator will lose some functionalities? Not sure, but this is what I understand from this process.
Then copy the apps/projectGenerator/ folder from the linux64 download to the Android download?
Then you should be able to use the projectGenerator to generate Android projects ( hopefully ).
That sort of did the trick as I can create some projects, but for some reason that I can’t understand, using some project names won’t work. Specifically if I try to give to a project a name that starts with a number, Android studio can’t build it. For now I’m working with the androidEmptyExample by writing code there and I can create the app I want. Haven’t tried to change the name of the app in order not to break anything.
Thanks for the help.