Runtime error with OpenCV C++
habib@Habib-PC:~/Documents/Projects$ g++ fingerprint_process.cpp -o program.out `pkg-config --cflags --libs opencv`
habib@Habib-PC:~/Documents/Projects$ ./program.out
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.3-dev) /home/habib/Documents/Projects/Packages/opencv/modules/core/src/matrix_wrap.cpp:1660: error: (-215:Assertion failed) !fixedSize() in function 'release'
Aborted (core dumped)
Why Am I getting this error on runtime? (︶︹︺) (︶︹︺)
please show the code around the line , that throws the error. (in your code)
you're probably trying to manipulate a
const
Mat (or an invalid one)fingerprint_process.cppt
That's the code
The code is pretty straight forward , there is no exception statements.
The error is thrown from inside the Library , matrix_wrap.cpp ,
but the reason for that is in your code, so, try to find out, where it happens there, and show us.
and learn how to use a debugger, please.