Bug 351279

Summary: Simon can't build against OpenCV 3 because of wrong include headers
Product: [Unmaintained] simon Reporter: Viktor Jancik <vjancik>
Component: simonAssignee: Peter Grasch <me>
Status: RESOLVED FIXED    
Severity: crash CC: asturm, heri+kde, kde-ml, stupor_scurvy343
Priority: NOR    
Version First Reported In: 0.4.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Simon 0.4.1 OpenCV 3 patch

Description Viktor Jancik 2015-08-14 10:29:17 UTC
Simon is including OpenCV Headers like #include <cv.h> / <highgui.h> / <cxcore.h> and this changes to <opencv/cv.h> / <opencv/highui.h> / <opencv/cxcore.h> in OpenCV 3

This problem was reported and patch was created at:
https://bugzilla.redhat.com/show_bug.cgi?id=1236596

Reproducible: Always
Comment 1 Viktor Jancik 2015-08-14 10:30:46 UTC
Created attachment 94029 [details]
Simon 0.4.1 OpenCV 3 patch
Comment 2 Mario Fux 2015-10-16 22:05:49 UTC
Good morning Viktor

As the new maintainer of Simon I'd like to thank you for reporting this problem. I just tried to reproduce it locally but can't. What I did:
- Remove all OpenCV packages of my Debian installation.
- Download OpenCV 3.0 zip file, extract, compile and install it.
- Recompile Simon from a fresh clone.
- Everything went smooth without a problem.

Nonetheless I applied your patch and did again a fresh run and compilation and everything went well too. So if you've still the problem please tell me and I can apply your patch.

Best regards
Mario
Comment 3 Andreas Sturmlechner 2015-10-17 00:14:31 UTC
I was able to reproduce the build failure on Gentoo. Patch fixes it.
Comment 4 Andreas Sturmlechner 2015-12-17 22:33:03 UTC
FIY, git master builds fine because of the following commit: https://quickgit.kde.org/?p=simon.git&a=commit&h=b4e663e5cc36511b15ef20865c723182cd3d88c9