Mat ctor produces heap error?!?
I have made a c++ wxWidgets minimal example, unfortunately it is not possible to post it here directly, the format gets distorted and one can only attach images, so here it is: https://drive.google.com/file/d/1NqAj...
It only consists of a wxWidgets window and the lines
include "opencv2/imgproc.hpp"
and cv::Mat src_gray;
The heap error is
Detected memory leaks! Dumping objects -> {7135} normal block at 0x000001B5242D3410, 32 bytes long. Data: < ,$ @ .$ > A0 F8 2C 24 B5 01 00 00 40 80 2E 24 B5 01 00 00 {7134} normal block at 0x000001B5242BFA90, 48 bytes long. Data: <google.protobuf.> 67="" 6f="" 6f="" 67="" 6c="" 65="" 2e="" 70="" 72="" 6f="" 74="" 6f="" 62="" 75="" 66="" 2e="" {7133}="" normal="" block="" at="" 0x000001b5242c20a0,="" 16="" bytes="" long.="" data:="" <<code="">'$ > 60 E4 27 24 B5 01 00 00 00 00 00 00 00 00 00 00 {7132} normal block at 0x000001B52427E440, 88 bytes long. Data: < '$ '$ > A0 E3 27 24 B5 01 00 00 E0 DF 27 24 B5 01 00 00 {7126} normal block at 0x000001B5242D30B0, 32 bytes long. Data: <google.protobuf.> 67 6F 6F 67 6C 65 2E 70 72 6F 74 6F 62 75 66 2E {7125} normal block at 0x000001B5242C1DD0, 16 bytes long. Data: < '$ > 20 E8 27 24 B5 01 00 00 00 00 00 00 00 00 00 00 {7124} normal block at 0x000001B52427E800, 88 bytes long. Data: < j'$ '$ > C0 6A 27 24 B5 01 00 00 00 E3 27 24 B5 01 00 00 {7118} normal block at 0x000001B5242C0510, 48 bytes long. Data: <google.protobuf.> 67 6F 6F 67 6C 65 2E 70 72 6F 74 6F 62 75 66 2E {7117} normal block at 0x000001B5242C2BE0, 16 bytes long. Data: < '$ > 60 EE 27 24 B5 01 00 00 00 00 00 00 00 00 00 00 {7116} normal block at 0x000001B52427EE40, 88 bytes long. Data: < '$ ,$ > 00 E3 27 24 B5 01 00 00 00 EA 2C 24 B5 01 00 00 {7110} normal block at 0x000001B5242D35F0, 32 bytes long. Data: <google.protobuf.> 67="" 6f="" 6f="" 67="" 6c="" 65="" 2e="" 70="" 72="" 6f="" 74="" 6f="" 62="" 75="" 66="" 2e="" {7109}="" normal="" block="" at="" 0x000001b5242c27d0,="" 16="" bytes="" long.="" data:="" <@="" '$="" >="" 40="" e1="" 27="" 24="" b5="" 01="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" {7108}="" normal="" block="" at="" 0x000001b52427e120,="" 88="" bytes="" long.="" data:="" <="" j'$="" '$="" >="" c0="" 6a="" 27="" 24="" b5="" 01="" 00="" 00="" e0="" f8="" 27="" 24="" b5="" 01="" 00="" 00="" {7102}="" normal="" block="" at="" 0x000001b5242d2ed0,="" 32="" bytes="" long.="" data:="" <google.protobuf.>="" 67="" 6f="" 6f="" 67="" 6c="" 65="" 2e="" 70="" 72="" 6f="" 74="" 6f="" 62="" 75="" 66="" 2e="" {7101}="" normal="" block="" at="" 0x000001b5242c2af0,="" 16="" bytes="" long.="" data:="" <="" '$="" >="" 20="" e3="" 27="" 24="" b5="" 01="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" 00="" {7100}="" normal="" block="" at="" 0x000001b52427e300,="" 88="" bytes="" long.="" data:="" <="" j'$="" @="" '$="" >="" c0="" 6a="" 27="" 24="" b5="" 01="" 00 ...
hey, how is that not a real question?!?!
Sorry but your first post was empty...