Kirubhakar / dolphin-player

Automatically exported from code.google.com/p/dolphin-player
0 stars 0 forks source link

Build for different package fail. #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Following the next steps: 

1) git clone https://code.google.com/p/dolphin-player/

2) Editing AVPLAYER_PATH variable in jni/Android.mk, as:
AVPLAYER_PATH := "/tmp/dolphin-player/p"
SDL_JAVA_PACKAGE_PATH := com_mincultura_ricalengua
SDL_SHARED_LIBRARIES_PATH := /data/data/com.mincultura.ricalengua/lib 

3) Editing compile.sh 
/opt/adt/ndk/ndk-build clean
/opt/adt/ndk/ndk-build 

4) Running ./compile.sh

Using ndk r9

Gives the output:

Android NDK: WARNING: APP_PLATFORM android-8 is larger than 
android:minSdkVersion 7 in ./AndroidManifest.xml    
Compile++ thumb  : application <= broov_gui.cpp
Compile++ thumb  : application <= broov_player.cpp
jni/app/src/broov_player.cpp: In function 'void calculate_frames_per_second()':
jni/app/src/broov_player.cpp:915:57: error: format not a string literal and no 
format arguments [-Werror=format-security]
jni/app/src/broov_player.cpp: In function 'int process_a_ui_event(VideoState*)':
jni/app/src/broov_player.cpp:2517:103: warning: format '%d' expects argument of 
type 'int', but argument 4 has type 'void*' [-Wformat]
jni/app/src/broov_player.cpp:2543:101: warning: format '%d' expects argument of 
type 'int', but argument 4 has type 'void*' [-Wformat]
jni/app/src/broov_player.cpp: In function 'int player_main(int, char**, int, 
int, int, int, int, int, int, int, int, int, int, int, int, int, int)':
jni/app/src/broov_player.cpp:3474:10: warning: converting to non-pointer type 
'int' from NULL [-Wconversion-null]
jni/app/src/broov_player.cpp:3483:11: warning: converting to non-pointer type 
'int' from NULL [-Wconversion-null]
cc1plus: some warnings being treated as errors

make: *** [obj/local/armeabi-v7a/objs/application/src/broov_player.o] Error 1

And it doesnt continue

Appreciate your help

Original issue reported on code.google.com by thaedne...@gmail.com on 13 Oct 2013 at 9:45

GoogleCodeExporter commented 9 years ago
Works fine when using ndk r8.
Please change the methods in your native folder according to your custom package

Original comment by arsha...@qagate.com on 5 Nov 2013 at 9:04