Hi, I use Android Studio 2.2 to integrate Dlib 19.1 and OpenCV 3.1.0,but there are so many problems, like:
Error:error: no member named 'to_string' in namespace 'std'
Error:error: reference to 'rectangle' is ambiguous
Error:error: reference to 'rectangle' is ambiguous
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: no member named 'nc' in 'cv::Mat'
Error:error: no member named 'nr' in 'cv::Mat'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: use of undeclared identifier 'image_data'
Error:error: use of undeclared identifier 'width_step'
Error:error: use of undeclared identifier 'num_rows'
Error:error: use of undeclared identifier 'num_columns'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: no matching function for call to 'num_rows'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: no matching function for call to 'num_columns'
Error:error: no matching function for call to 'num_rows'
Error:Execution failed for task ':app:ndkBuild'.
Process 'command 'D:/Android/SDK/ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2
Hi, I use Android Studio 2.2 to integrate Dlib 19.1 and OpenCV 3.1.0,but there are so many problems, like: Error:error: no member named 'to_string' in namespace 'std' Error:error: reference to 'rectangle' is ambiguous Error:error: reference to 'rectangle' is ambiguous Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: no member named 'nc' in 'cv::Mat'
Error:error: no member named 'nr' in 'cv::Mat'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: use of undeclared identifier 'image_data'
Error:error: use of undeclared identifier 'width_step'
Error:error: use of undeclared identifier 'num_rows'
Error:error: use of undeclared identifier 'num_columns'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: no matching function for call to 'num_rows'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: implicit instantiation of undefined template 'dlib::image_traits'
Error:error: no matching function for call to 'num_columns'
Error:error: no matching function for call to 'num_rows'
Error:Execution failed for task ':app:ndkBuild'.
Cany anyone help me? Thanks.