armeabi] Compile++ thumb: cvutils-lib <= cvutilslib.cpp
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:39:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/general.h:41:36: error: expected class name
class FLANNException : public std::runtime_error
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/general.h:44:48: error: member initializer 'runtime_error' does not name a non-static data member or base class
FLANNException(const char* message) : std::runtime_error(message) { }
^~~~~~~~~~~~~~~~~~~~~~
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/general.h:46:55: error: member initializer 'runtime_error' does not name a non-static data member or base class
FLANNException(const std::string& message) : std::runtime_error(message) { }
^~~~~~~~~~~~~~~~~~~~~~
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:41:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/params.h:33:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/any.h:262:42: error: cannot use 'throw' with exceptions disabled
if (policy->type() != typeid(T)) throw anyimpl::bad_any_cast();
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/any.h:271:42: error: cannot use 'throw' with exceptions disabled
if (policy->type() != typeid(T)) throw anyimpl::bad_any_cast();
^
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:41:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/params.h:78:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException(std::string("Missing parameter '")+name+std::string("' in the parameters given"));
^
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:42:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:113:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Invalid index file, cannot read");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:117:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Invalid index file, wrong signature");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:151:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Cannot read from file");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:160:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Cannot read from file");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:165:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Cannot read from file");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:176:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Cannot read from file");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/saving.h:181:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Cannot read from file");
^
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:44:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/all_indices.h:38:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/kmeans_index.h:308:13: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Unknown algorithm for choosing initial centers.");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/kmeans_index.h:378:13: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Branching factor must be at least 2");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/kmeans_index.h:479:13: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Number of clusters must be at least 1");
^
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:44:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/all_indices.h:41:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/hierarchical_clustering_index.h:304:13: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Unknown algorithm for choosing initial centers.");
^
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/hierarchical_clustering_index.h:395:13: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Branching factor must be at least 2");
^
In file included from jni/cvutilslib.cpp:6:
In file included from jni/cvutils.h:8:
In file included from jni/.\lbp\lbp.hpp:7:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include/opencv\cv.h:69:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann.hpp:50:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/flann_base.hpp:44:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/all_indices.h:43:
In file included from c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/autotuned_index.h:36:
c:/Libs/opencv-2.4.13.3-android-sdk/OpenCV-android-sdk/sdk/native/jni/include\opencv2/flann/index_testing.h:95:9: error: cannot use 'throw' with exceptions disabled
throw FLANNException("Ground truth is not computed for as many neighbors as requested");
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [obj/local/armeabi/objs/cvutils-lib/cvutilslib.o] Error 1
4. Reference
댓글
댓글 쓰기