About Store Forum Documentation Contact



Post Reply 
Android: compile error
Author Message
Houge Offline
Member

Post: #1
Android: compile error
Hi, i just installed EE to my new laptop, i installed all Android dependencies (as i did on my PC about 2 months ago), but this time i faced the following error when compiling:

Code:
make: Entering directory `C:/Esenthel/Projects/_Build_/Touch Screen/Android'
[x86] Compile++      : Project <= Main.cpp
[armeabi-v7a] Install        : libProject.so => libs/armeabi-v7a/libProject.so
clang++.exe: error: unknown argument: '-malign-double'
clang++.exe: error: unknown argument: '-malign-double'
make: *** [obj/local/x86/objs-debug/Project/Main.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `C:/Esenthel/Projects/_Build_/Touch Screen/Android'

It seems like Android NDK clang++.exe is used to perform compilation, but it is of the same version both on PC and laptop, but PC works well.
10-12-2016 05:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Android: compile error
Hi,

Thank you for reporting the issue.

Most likely, you're using a newer version of Android SDK/NDK.

I'm downloading it right now to check it.

Most likely removing these flags will solve the problem:
https://github.com/Esenthel/EsenthelEngi...8489683093

Please close all Esenthel apps, apply these changes, and run Esenthel Builder, and recompile the Engine for Android, including Engine.pak and Editor.pak

I haven't yet tested it, because I'm still waiting for SDK/NDK to finish downloading.
10-13-2016 01:22 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: Android: compile error
There are some other compilation issues with the newer SDK.

For now I recommend using an older version of Android SDK/NDK until I finish adding support for latest version.
10-13-2016 03:44 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: Android: compile error
I was able to make it work.
Support for latest Android SDK/NDK will be included in next Engine Release.
10-13-2016 04:44 AM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #5
RE: Android: compile error
Thank you very much!
10-13-2016 06:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply