Teaonly / android-eye

Change your android phone to surveillance camera
Other
1.08k stars 492 forks source link

jni failure #2

Closed dalb8 closed 11 years ago

dalb8 commented 11 years ago

jni/libmp3lame/bitstream.c: In function 'do_gain_analysis': jni/libmp3lame/bitstream.c:992:24: warning: unused variable 'rov' [-Wunused-variable] jni/libmp3lame/bitstream.c:991:32: warning: unused variable 'rsv' [-Wunused-variable] jni/libmp3lame/bitstream.c:990:34: warning: unused variable 'cfg' [-Wunused-variable] In file included from jni/libmp3lame/presets.c:29:0: jni/libmp3lame/set_get.h:24:18: fatal error: lame.h: No such file or directory compilation terminated. make: *** [obj/local/armeabi/objs/mp3encoder/libmp3lame/presets.o] Error 1 Compile thumb : mp3encoder <= bitstream.c Compile thumb : mp3encoder <= fft.c Compile thumb : mp3encoder <= id3tag.c Compile thumb : mp3encoder <= mpglib_interface.c Compile thumb : mp3encoder <= presets.c

Teaonly commented 11 years ago

Thanks your interesting.

For the current android.mk, you should execute ndk-build in jni folder, the include path is fixed.

dalb8 commented 11 years ago

Thank you. The app builds but I can't get it to work. I opened the url in gnome-mplayer with 3G and WiFI and it just says Loading...

Teaonly commented 11 years ago

You should open the URL in browser , the browser should support Chrome, Firefox and IE

dalb8 commented 11 years ago

Still doesnt work . Tried Firefox . nevermind.

leepopcan1984 commented 11 years ago

The same problem, but I fixed it following Teaonly, Thanks. For more I use Chrome to see the video, hope it help.