Errore di Android Studio: (147, 17) errore: "DevMem2D_ <unsigned char>" è deprecato [-Werror, -Wdeprecated-declarations]

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

Quando aggiungo una di queste righe:

#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" 

in un file .cpp, fornisce i seguenti errori:

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'. 

Processo 'comando' / home / dev / Android / Sdk / ndk-bundle / ndk-build '' finito con valore di uscita diverso da zero 2

Tuttavia quando aggiungo altro #include ... sta funzionando bene. FYI è completamente a posto in Windows da errori in Ubuntu.

No Answers Yet

Related questions

Hot questions

Language

Popular Tags