[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] how to build media streamer2-sdk for android?

From: 曹贵林
Subject: [Linphone-developers] how to build media streamer2-sdk for android?
Date: Thu, 6 Mar 2014 23:08:15 +0800

I download the linphone-android and try to build it. 

As i just need mediastreamer2, i run this command: 
      $ make mediastreamer2-sdk
Then such error occurs: 

Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
Android NDK:     current module    
make[1]: Entering directory `/home/mancook/cook/work/linphone-android/submodules/linphone/mediastreamer2/java'
[armeabi-v7a] Compile arm    : mediastreamer2 <= opengles_display.c
[armeabi-v7a] Compile++ thumb: zrtpcpp <= ZrtpCallbackWrapper.cpp
In file included from jni/../../../../../jni/..//submodules/externals/build/libzrtpcpp/../../libzrtpcpp/zrtp/libzrtpcpp/ZrtpCallbackWrapper.h:25:0,
                 from jni/../../../../../jni/..//submodules/externals/build/libzrtpcpp/../../libzrtpcpp/zrtp/ZrtpCallbackWrapper.cpp:20:
jni/../../../../../jni/..//submodules/externals/build/libzrtpcpp/../../libzrtpcpp/zrtp/libzrtpcpp/ZrtpCallback.h:28:18: fatal error: string: No such file or directory
 #include <string>
compilation terminated.
make[1]: *** [obj/local/armeabi-v7a/objs/zrtpcpp/zrtp/ZrtpCallbackWrapper.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/mancook/cook/work/linphone-android/submodules/linphone/mediastreamer2/java'
make: *** [generate-mediastreamer2-libs] Error 2

Does anyone know how to fix this problem? 

Thanks a lot:) 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]