<p dir="ltr">I have a problem with VES. Can anyone help me?</p>
<p dir="ltr">This is my Android.mk of my old project that i will add to VES. How i do?? How to add this lib to my CMakeList.txt in VES??<br></p>
<p dir="ltr">LOCAL_PATH:= $(call my-dir)<br>
BOOST_LIB_PATH=../../boost/android/lib<br>
BOOST_INCLUDE_PATH=$(LOCAL_PATH)/../../boost<br>
#$(warning ########## LOCAL_PATH is $(LOCAL_PATH))</p>
<p dir="ltr">#########################################<br>
# use prebuilt static library</p>
<p dir="ltr">#include $(CLEAR_VARS)<br>
#LOCAL_MODULE:= lib3dv<br>
#LOCAL_SRC_FILES:= lib3dv<br>
#LOCAL_EXPORT_C_INCLUDES := lib3dv<br>
#include $(BUILD_SHARED_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_system<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_system.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_filesystem<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_filesystem.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_thread<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_thread.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_iostreams<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_iostreams.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_regex<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_regex.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_math<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_math_c99.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_chrono<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_chrono.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_date<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_date_time.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_random<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_random.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)<br>
include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_signals<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_signals.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_timer<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_timer.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_serialization<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_serialization.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_wserialization<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_wserialization.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_exception<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_exception.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">include $(CLEAR_VARS)<br>
LOCAL_MODULE:= boost_option<br>
LOCAL_SRC_FILES:= $(BOOST_LIB_PATH)/libboost_program_options.a<br>
LOCAL_EXPORT_C_INCLUDES := $(BOOST_INCLUDE_PATH)<br>
include $(PREBUILT_STATIC_LIBRARY)</p>
<p dir="ltr">###test use jni with boost<br>
include $(CLEAR_VARS)<br>
LOCAL_MODULE:= hello-jni<br>
LOCAL_LDLIBS  := -llog<br>
LOCAL_SRC_FILES:= hello-jni.cpp mylic/otherclass.cc<br>
LOCAL_STATIC_LIBRARIES := boost_date boost_option boost_system boost_thread boost_signals<br>
include $(BUILD_SHARED_LIBRARY)</p>