Bug 351279 - Simon can't build against OpenCV 3 because of wrong include headers
Summary: Simon can't build against OpenCV 3 because of wrong include headers
Status: RESOLVED FIXED
Alias: None
Product: simon
Classification: Unmaintained
Component: simon (other bugs)
Version First Reported In: 0.4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Grasch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 10:29 UTC by Viktor Jancik
Modified: 2015-12-27 16:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Simon 0.4.1 OpenCV 3 patch (4.17 KB, patch)
2015-08-14 10:30 UTC, Viktor Jancik
Details

Note You need to log in before you can comment on or make changes to this bug.
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