juniorlm87 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

how to build native library of video? #2304

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
firstly, i am sorry for asking help at here due to i can't visiting Developper 
group.

What steps will reproduce the problem?
1.fetch the source code of csipsimple:
svn checkout http://csipsimple.googlecode.com/svn/trunk/CSipSimple/ 
csipsimple-read-only

2.run:
make -j4

3.run:
make VideoLibs

What is the expected output? What do you see instead?
i think there is libpj_video_android.so, but not, and ndk reports some error:
------------------------------------------------------
Assembler messages:
/tmp/ccmMqU9b.s:674: Error: ']' expected -- `vld2.u8 {q0,q1},[r0:128]!'
/tmp/ccmMqU9b.s:676: Error: ']' expected -- `vst1.u8 {q0},[r1:128]!'
/tmp/ccmMqU9b.s:677: Error: ']' expected -- `vst1.u8 {q1},[r2:128]!'
make[1]: *** [obj/local/armeabi-v7a/objs/yuv/source/row_neon.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/firstime/csipsimple/csipsimple-read-only'
make: *** [VideoLibs] Error 2

What version of the product are you using? On what operating system?
My os is ubuntu, and my Android ndk is ndk-r8. 

Please provide any additional information below.
Indeed, i havn't config Android sdk, because i wanna make apk by eclipse 
instead of by make script, i think sdk is only needed while making apk, i am 
wrong? 

Thanks for any answer!

Original issue reported on code.google.com by gr...@163.com on 1 Apr 2013 at 3:55

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 1 Apr 2013 at 10:34

GoogleCodeExporter commented 9 years ago
you should use android-ndk-r8b.

r8 has bug, can not build VideoLibs properly.

although the recent version is r8d, you should not use it. r8d has bug either. 
and you can not see any video showed with *.so built by r8d.

Original comment by jjxcyw...@gmail.com on 2 Apr 2013 at 6:35