Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for different package fail. #37

Open
GoogleCodeExporter opened this issue May 27, 2015 · 1 comment
Open

Build for different package fail. #37

GoogleCodeExporter opened this issue May 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant