From 3a5f09c61a87adb8dba2cc4a5366893886ba1c1d Mon Sep 17 00:00:00 2001
From: dupengyue <dupengyue@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 20 七月 2017 17:31:40 +0800
Subject: [PATCH] 接口初步完成

---
 FaceServer/make.sh |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/FaceServer/make.sh b/FaceServer/make.sh
index 670e598..f24a3c0 100644
--- a/FaceServer/make.sh
+++ b/FaceServer/make.sh
@@ -24,7 +24,7 @@
 LDFLAGS+="-pthread -levent $PROTOBUF_LIB $STFACESDK_LIB $OPENCV_LIB $LIBYUV_LIB "
 
 rm *.o
-rm face_server test_client_detect test_client_add
+rm face_server test_client_detect test_client_add test_client_compare test_client_search
 
 g++ $PIPELINE_BASE/Logger/src/logger.cc $CFLAGS $CPPFLAGS
 g++ ev_server.cpp -DUSER_DEFINE_EVCLIENT_PROC $CFLAGS $CPPFLAGS
@@ -37,6 +37,8 @@
 
 g++ test_client_detect.cpp $CFLAGS $CPPFLAGS
 g++ test_client_add.cpp $CFLAGS $CPPFLAGS
+g++ test_client_compare.cpp $CFLAGS $CPPFLAGS
+g++ test_client_search.cpp $CFLAGS $CPPFLAGS
 
 g++ -g -std=c++11 \
   logger.o \
@@ -59,4 +61,15 @@
   $LDFLAGS -o test_client_add
 #
 
+g++ -g -std=c++11 \
+  test_client_compare.o proto_hton_ntoh.o logger.o \
+  $LDFLAGS -o test_client_compare
+#
+
+g++ -g -std=c++11 \
+  test_client_search.o proto_hton_ntoh.o logger.o \
+  $LDFLAGS -o test_client_search
+#
+
 #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/protobuf/inst/lib:/opt/opencv/inst/lib:/opt/st_face/libs/linux-x86_64
+#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/protobuf/inst/lib:/opt/opencv/inst/lib:/opt/st_face/libs/linux-x86_64:/opt/opencv/lib

--
Gitblit v1.8.0