Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.

Scaleform compile error - Android SDK 4.4 Linux - XML_Expat.cpp error

Scaleform compile error - Android SDK 4.4 Linux - XML_Expat.cpp error

Anonymous
Not applicable
1,024 Views
1 Reply
Message 1 of 2

Scaleform compile error - Android SDK 4.4 Linux - XML_Expat.cpp error

Anonymous
Not applicable

I am trying to compile the code using Mobile SDK to test your player as a plugin to our product. However, I am facing certain issues/errors while compiling the code. Need help to resolve the errors by addressing the file/library dependencies. 

Tried to build Android mobile SDK 4.4 on Linux with command make P=Android C=Release+NoRTTI, but got these errors below:

ar     Lib/Android/armeabi-v7a/Release_NoRTTI/libgfxexpat.a
/home/naren/test/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/arm-linux-androideabi-ar
rc Lib/Android/armeabi-v7 Src/XML/XML_Expat.hgfxexpat.a
Src/XML/XML_Expat.cpp
: No such file or
directoryk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/arm-linux-androideabi-ar:
Src/XML/XML_Expat.cpp
make: *** [Lib/Android/armeabi-v7a/Release_NoRTTI/libgfxexpat.a] Error 1


Below 4 lines added on Makeconfig:

export JAVA_HOME := /usr/lib/jvm/java-7-openjdk-i386

export ANT_HOME := /usr/bin/ant

ANDROID_SDK := /media/B40038E60038B0EA/android

ANDROID_NDK := /home/naren/test/android-ndk-9

 

Let me know if this error was encountered before. In the forums, I saw some discussion about XML_Expat.cpp error. However I could nnot fix it after trrying the steps recommended - with a diff ndk version and cleaning the obj folder and scaleform sdk folder. Any  help is greatly appreciated.

Reply
Reply
0 Likes
Accepted solutions (1)
1,025 Views
1 Reply
Reply (1)
Message 2 of 2

SFjenkink
Alumni
Alumni
Accepted solution

hi there was a line ending issue that affected the list files in the project directory 

 

please refer to this thread for the current workaround until we release a patch .

 

http://forums.autodesk.com/t5/scaleform-mobile-development/scaleform-4-4-android-sdk-build-problem-o...

 

 

Reply
Reply
0 Likes