|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
|
Autodesk® Entertainment Creation Suite Ultimate®
|
| Make does not work (SF_4.1_Mobile_SDK)
|
|
|
I followed the instructions in the “Getting Started” guide, chapter 2.6.1 “Scaleform SDK for Android”.
After running make P=Android, it prints “make P=Android C=Release+NoRTTI” and then it does not do anything else…
|
|
|
|
Ok, I just tried later and it worked… Sorry
Now I get the following error after a while:
javac Integrations/Android/FxPlayerMobile/gen/com/scaleform/FxPlayerMobile/R. java
cygpath: can't convert empty path
apk Bin/Android/FxPlayerMobile.apk
cc Apps/Samples/Common/FxRenderThread.cpp
cc Apps/Samples/Common/FxSharedObjectManager.cpp
cc Src/Platform/Platform_Android_GL.cpp
cc LocalApps/Example/FxShippingPlayer.cpp
ld LocalApps/Example/Android/obj/local/armeabi/libExample.so
javac LocalApps/Example/Android/src/com/scaleform/Example/Debug.java
javac LocalApps/Example/Android/src/com/scaleform/Example/GLView.java
Note: LocalApps\Example\Android\src\com\scaleform\Example\MainActivity.java uses
or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
javac LocalApps/Example/Android/gen/com/scaleform/Example/R.java
cygpath: can't convert empty path
apk LocalApps/Example/Android/Example.apk
libpng error: PNG file corrupted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-hdpi\
icon.png
libpng error: PNG file corrupted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-ldpi\
icon.png
libpng error: PNG file corrupted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-mdpi\
icon.png
make[1]: *** [LocalApps/Example/Android/Example.apk] Error 1
make[1]: se sale del directorio `/cygdrive/c/Autodesk/Scaleform/SF_4.1_Mobile_SD
K'
make: *** [Release+NoRTTI] Error 2
I checked the icons in the paths and they seem to be corrupt, I can’t open them with Windows Explorer.
|
|
|
|
|
Hi Miguel,
Are you having this issue on Windows and if so, are you using Cygwin?
Thanks,
-JP
Author: adjp
|
| Replied: 11 July 2012 03:03 AM
|
|
|
|
|
|
Yes, I am using Windows and Cygwin. I insist that the problem seems to be in the .png icon files since I can’t open that files with Windows Explorer or Photoshop.
Author: miguelSantirso
|
| Replied: 11 July 2012 03:07 AM
|
|
|
|
|
|
You can also try removing the “Example” folder that was created in LocalApps during your first build and try the build again.
Author: adjp
|
| Replied: 11 July 2012 03:10 AM
|
|
|
|
|
|
I did so and got the same results.
Author: miguelSantirso
|
| Replied: 11 July 2012 03:29 AM
|
|
|
|
|
Can you check the PNGs in the following directory to see if they are corrupt?
Integrations/Android/FxShippingPlayer/res/
If they aren’t then try removing your Obj/Android folder and running the build again.
|
|
|
|
|
I did that and got the same results.
Also, I deleted the Obj/Android and LocalApps/Example and searched for “icon.png” within the Scaleform folders. All results were valid .png files of the Scaleform logo. It seems there is some issue when copying the pngs.
Author: miguelSantirso
|
| Replied: 11 July 2012 04:09 AM
|
|
|
|
|
I just tried a fresh install and build and wasn’t able to reproduce this issue. Does your install path have any spaces in it?
Either way, can you try a fresh install and run the build again? If it fails, can you let me know the version of Cygwin and make you are using?
Thanks again for your patience,
-JP
|
|
|
|
|
To get the version of Cygwin just type the following into the Cygwin terminal:
uname -a
That should give you a line that looks like this:
CYGWIN_NT-6.1-WOW64 GBO2UA1260PWW 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin
For the make version, type this:
make -v
One more thing that would help, if the icon turns out to be corrupted, is if you could go to the directory that one of the icons is in:
LocalApps\Example\Android\res\drawable-hdpi
and try the following command:
file icon.png
Just paste the output that that gives you into your reply.
Author: adjp
|
| Replied: 11 July 2012 04:56 AM
|
|
|
|
|
|
I tried reinstalling the SDK multiple times. I am going to try and delete all contents under C:\Autodesk\Scaleform and installing the SDK again.
Author: miguelSantirso
|
| Replied: 11 July 2012 05:03 AM
|
|
|
|
|
|
Tried today with a fresh install of the SDK. The path does not have any spaces. Got the same result:
Note: Integrations\Android\FxPlayerMobile\src\com\scaleform\FxPlayerMobile\MainA
ctivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
javac Integrations/Android/FxPlayerMobile/gen/com/scaleform/FxPlayerMobile/R.
java
cygpath: can’t convert empty path
apk Bin/Android/FxPlayerMobile.apk
cc Apps/Samples/Common/FxRenderThread.cpp
cc Apps/Samples/Common/FxSharedObjectManager.cpp
cc Src/Platform/Platform_Android_GL.cpp
cc LocalApps/Example/FxShippingPlayer.cpp
ld LocalApps/Example/Android/obj/local/armeabi/libExample.so
javac LocalApps/Example/Android/src/com/scaleform/Example/Debug.java
javac LocalApps/Example/Android/src/com/scaleform/Example/GLView.java
Note: LocalApps\Example\Android\src\com\scaleform\Example\MainActivity.java uses
or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
javac LocalApps/Example/Android/gen/com/scaleform/Example/R.java
cygpath: can’t convert empty path
apk LocalApps/Example/Android/Example.apk
libpng error: PNG file corrupted by ASCII conversionlibpng error: PNG file corru
pted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-hdpi\
icon.png
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-ldpi\
icon.png
libpng error: PNG file corrupted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-mdpi\
icon.png
make[1]: *** [LocalApps/Example/Android/Example.apk] Error 1
make[1]: se sale del directorio `/cygdrive/c/Autodesk/Scaleform/SF_4.1_Mobile_SD
K’
make: *** [Release+NoRTTI] Error 2
Also, I noticed that the .fla files of the StarforceTD example are not present in the Windows SDK. In the Mac OS version I did find them where they are supposed to be.
Author: miguelSantirso
|
| Replied: 11 July 2012 11:50 PM
|
|
|
|
|
|
Cygwing version:
$ uname -a
CYGWIN_NT-6.1-WOW64 ClientDev1 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin
make version:
$ make -v
GNU Make 3.81
$ file icon.png
icon.png: data
Author: miguelSantirso
|
| Replied: 12 July 2012 12:09 AM
|
|
|
|
|
As you asked me by email, I upload the LocalApps\Example\Android\res folder. I hope it’s useful for you.
|
|
|
|
|
Hi Miguel,
Thank you for the attachment, this will be a big help. If you wouldn’t mind, we’d like to get some more info about your setup. Can you please provide us with the following information:
From Windows command prompt:
systeminfo | findstr /B /C:"System Locale”
From Cygwin command prompt:
locale
cp --version
cmp --version
perl --version
Thanks again,
-JP
Author: adjp
|
| Replied: 16 July 2012 03:47 AM
|
|
|
|
|
The systeminfo command does not return any results. I guess it’s because the systeminfo output is in spanish and, so, it can’t find the “System Locale” string. I copy below the part of the output that I think you’re looking for:
Directorio de Windows: C:\Windows
Directorio de sistema: C:\Windows\system32
Dispositivo de arranque: \Device\HarddiskVolume1
Configuración regional del sistema: es;Español (internacional) Idioma de entrada: es;Español (tradicional) Zona horaria: (UTC+01:00) Bruselas, Copenhague, Mad
rid, París
Cygwin output:
$ cp --version
cp (GNU coreutils) 8.15
Packaged by Cygwin (8.15-1) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by Torbj"orn Granlund, David MacKenzie, and Jim Meyering.
$ cmp --version
cmp (GNU diffutils) 3.2
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by Torbj"orn Granlund and David MacKenzie.
$ perl --version
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "ES"
are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int (with 13 registered patches, see perl -V for more detail)
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
|
|
|
|
|
Hi Miguel,
Could you please also post the output from Cygwin of the following command:
locale
Thanks,
Jeremy
Author: adjm
|
| Replied: 23 July 2012 05:26 AM
|
|
|
|
|
$ locale
LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8" LC_NUMERIC="es_ES.UTF-8" LC_TIME="es_ES.UTF-8" LC_COLLATE="es_ES.UTF-8" LC_MONETARY="es_ES.UTF-8" LC_MESSAGES="es_ES.UTF-8" LC_ALL=
|
|
|
|
I finally got it to work. I just downloaded the latest version of the SDK, deleted everything in previous installations and installed the new SDK. I don’t know if it’s something you changed or, most likely, something I did differently, but I got it working now.
|
|
|
|
|
Hello,
I’m also getting the same error.
So, let me confirm a few things.
Did you also uninstall and install Android SDK packages?
Or did you just uninstall and install Scaleform Mobile SDK package?
Author: aros
|
| Replied: 02 August 2012 07:59 PM
|
|
|
|
|
|
Scaleform SDK.
Author: miguelSantirso
|
| Replied: 02 August 2012 08:27 PM
|
|
|
|
|
|
OK, thanks. I will try the latest package on the web.
Author: aros
|
| Replied: 02 August 2012 09:46 PM
|
|
|
|
|
I tried to uninstall and re-install the latest Scaleform SDK, but I still get the same error.
--------------------------------------------------------------------
$ make P=Android C=Release+NoRTTI
cygwin warning:
MS-DOS style path detected: C:/Android/android-ndk-r8/platforms/android-5/arch-arm/usr/include/jpeglib.h
Preferred POSIX equivalent is: /cygdrive/c/Android/android-ndk-r8/platforms/android-5/arch-arm/usr/include/jpeglib.h
CYGWIN environment variable option “nodosfilewarning” turns off this warning.
Consult the user’s guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cc Src/Render/GL/GL_HAL.cpp
cc Src/Render/GL/GL_HALSetup.cpp
cc Src/Render/GL/GL_MeshCache.cpp
cc Src/Render/GL/GL_Shader.cpp
cc Src/Render/GL/GL_Texture.cpp
cc Src/Render/GL/GLES_Extensions.cpp
cc Src/Render/GL/GLES_ShaderDescs.cpp
cc Src/Render/GL/GLES_ShaderSource.cpp
ar Lib/Android/Release_NoRTTI/libgfxrender_gl.a
cc Src/Sound/Sound_SoundRenderer.cpp
cc Src/Sound/Sound_Sound.cpp
cc Src/Sound/Sound_SoundRendererFMOD.cpp
ar Lib/Android/Release_NoRTTI/libgfxsound_fmod.a
ar Lib/Android/Release_NoRTTI/libgfxsound_null.a
make expat
cc 3rdParty/expat-2.0.1/lib/xmlparse.c
cc 3rdParty/expat-2.0.1/lib/xmlrole.c
cc 3rdParty/expat-2.0.1/lib/xmltok.c
cc 3rdParty/expat-2.0.1/lib/xmltok_impl.c
cc 3rdParty/expat-2.0.1/lib/xmltok_ns.c
cc Src/XML/XML_Expat.cpp
ar Lib/Android/Release_NoRTTI/libgfxexpat.a
cc Src/Platform/Platform.cpp
cc Src/Platform/Platform_CommandLine.cpp
cc Src/Platform/Platform_CoreTest.cpp
cc Src/Platform/Platform_RenderThread.cpp
cc Src/Platform/Platform_RTCommandQueue.cpp
cc Src/Platform/Platform_SystemCursorManager.cpp
cc Src/Platform/Platform_Posix.cpp
cc Src/Platform/Platform_AppThread.cpp
Src/Platform/Platform_AppThread.cpp: In member function ‘void Scaleform::Platform::AppThread::onEvent(Scaleform::Platform::AppThread::EventStorage)’:
Src/Platform/Platform_AppThread.cpp:84: warning: dereferencing pointer ‘pevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:78: note: initialized from here
Src/Platform/Platform_AppThread.cpp:93: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:93: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:93: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:90: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:90: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:90: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:90: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:87: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:87: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:87: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:87: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:93: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:90: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:87: warning: dereferencing pointer ‘pmevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:80: note: initialized from here
Src/Platform/Platform_AppThread.cpp:100: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:100: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:100: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:97: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:97: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:97: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:100: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:97: warning: dereferencing pointer ‘pkevent’ does break strict-aliasing rules
Src/Platform/Platform_AppThread.cpp:79: note: initialized from here
Src/Platform/Platform_RTCommandQueue.h: In member function ‘virtual int Scaleform::Platform::AppThread::Run()’:
Src/Platform/Platform_RTCommandQueue.h:114: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
Src/Platform/Platform_RTCommandQueue.h:71: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
Src/Platform/Platform_RTCommandQueue.h:99: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
Src/Kernel/SF_Allocator.h:112: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
cc Src/Platform/Platform_SystemRenderHALThread.cpp
Src/Platform/Platform_RTCommandQueue.h: In member function ‘void Scaleform::Platform::RenderHALThread::runCommands()’:
Src/Platform/Platform_RTCommandQueue.h:114: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
Src/Platform/Platform_RTCommandQueue.h:71: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
Src/Platform/Platform_RTCommandQueue.h:99: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
Src/Kernel/SF_Allocator.h:112: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Src/Platform/Platform_RTCommandQueue.h:86: note: initialized from here
ar Lib/Android/Release_NoRTTI/libgfxplatform.a
make Obj/Android/3rdParty/jpeg-6b/libjpeg.a
make Obj/Android/3rdParty/zlib-1.2.5/libz.a
make Obj/Android/3rdParty/libpng/libpng.a
make pcre
cc Apps/Samples/FxPlayerMobile/FxPlayerMobile.cpp
cc Apps/Samples/Common/FxRenderThread.cpp
cc Apps/Samples/Common/FxSoundFMOD.cpp
cc Apps/Samples/Common/FxSharedObjectManager.cpp
cc Src/Platform/Platform_Android_GL.cpp
ld Integrations/Android/FxPlayerMobile/obj/local/armeabi/libFxPlayerMobile.so
javac Integrations/Android/FxPlayerMobile/src/com/scaleform/FxPlayerMobile/Debug.java
javac Integrations/Android/FxPlayerMobile/src/com/scaleform/FxPlayerMobile/GLView.java
make: Warning: File `Integrations/Android/FxPlayerMobile/src/com/scaleform/FxPlayerMobile/MainActivity.class’ has modification time 0.0028 s in the future
javac Integrations/Android/FxPlayerMobile/gen/com/scaleform/FxPlayerMobile/R.java
cygpath: can’t convert empty path
apk Bin/Android/FxPlayerMobile.apk
cc Apps/Samples/Common/FxRenderThread.cpp
cc Apps/Samples/Common/FxSharedObjectManager.cpp
cc Src/Platform/Platform_Android_GL.cpp
cc LocalApps/Example/FxShippingPlayer.cpp
ld LocalApps/Example/Android/obj/local/armeabi/libExample.so
javac LocalApps/Example/Android/src/com/scaleform/Example/Debug.java
javac LocalApps/Example/Android/src/com/scaleform/Example/GLView.java
javac LocalApps/Example/Android/gen/com/scaleform/Example/R.java
cygpath: can’t convert empty path
apk LocalApps/Example/Android/Example.apk
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-hdpi\icon.png
libpng error: PNG file corrupted by ASCII conversion
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-mdpi\icon.png
ERROR: Failure processing PNG image LocalApps\Example\Android\res\drawable-ldpi\icon.png
make: *** [LocalApps/Example/Android/Example.apk] Error 1
--------------------------------------------------------------------------------------------------
|
|
|
|
|
Ooops… I am familiar with that error :S Let’s see if something of this helps:
Where do you have the Scaleform SDK installed? In my case, the first version installed at c:/Autodesk but after the update it installed at “C:\Users\Miguel\Documents\Autodesk\Scaleform\SF_4.1_Mobile_SDK”
Make sure you have the last version of Cygwin, make and other plugins. To update you should run the cygwin installer again.
Are you launching Cygwin as administrator? I need to do so, otherwise it fails.
Have you tried to remove everything and start all over?
Author: miguelSantirso
|
| Replied: 02 August 2012 11:16 PM
|
|
|
|
|