4 ms·
Here's a patch that lets you compile with opencv2: https://gist.github.com/999061 https://gist.github.com/999061. edit: I'm still getting a Make error for cvSu
by vedantk 15y ago
Here's a patch that lets you compile with opencv2: https://gist.github.com/999061 https://gist.github.com/999061.
edit:
I'm still getting a Make error for cvSumPixels (unless I comment that check out);
sampleManager.cpp:(.text+0x1a06): undefined reference to `cvSumPixels'
- b4silio 15y agoyou might need to add #include <opencv2/legacy/legacy.hpp> #include <opencv2/legacy/compat.hpp> to get those I haven't gotten around to porting it to opencv2.2 so the patch is very welcome!
- vedantk 15y agoGood call. I added those headers and linked to their related libraries. It's working perfectly on my Arch install. Here are my modifications; https://gist.github.com/999427 https://gist.github.com/999427