Error sa Android Studio: (147, 17) error: 'DevMem2D_ <unsigned char>' ay hindi na-deprecate [-Werror, -Wdeprecated-declarations]

Mahdi Askarirad 07/30/2017. 0 answers, 20 views
c++ android-studio android-studio opencv android-ndk android-ndk opencv-stitching

Kapag nagdadagdag ako ng alinman sa mga linyang ito:

#include "opencv2/stitching/detail/autocalib.hpp"
#include "opencv2/stitching/detail/matchers.hpp"
#include "opencv2/stitching/detail/motion_estimators.hpp"
#include "opencv2/stitching/detail/seam_finders.hpp"
#include "opencv2/stitching/detail/warpers.hpp"
#include "opencv2/stitching/warpers.hpp" 

sa isang .cpp file, binibigyan nito ang mga sumusunod na error:

Error:(147, 17) error: 'DevMem2D_' is deprecated [-Werror,-Wdeprecated-declarations]
Error:(148, 17) error: 'DevMem2D_' is deprecated [-Werror,-Wdeprecated-declarations]
Error:(149, 17) error: 'DevMem2D_' is deprecated [-Werror,-Wdeprecated-declarations]
Error:(150, 17) error: 'DevMem2D_' is deprecated [-Werror,-Wdeprecated-declarations]

Error:Execution failed for task ':app:ndkBuild'. 

Ang 'command' / home / dev / Android / Sdk / ndk-bundle / ndk-build na 'process' ay tapos na sa non-zero exit value 2

Gayunpaman kapag nagdadagdag ng iba pang mga # isama ... ito ay gumagana pagmultahin. FYI nito ganap na pagmultahin sa mga bintana sa pamamagitan ng may error sa Ubuntu.

No Answers Yet

Related questions

Hot questions

Language

Popular Tags