Bug 1238677

Summary: error: 'threshold' is not a member of 'cv' with opencv 3.0.0
Product: [Fedora] Fedora Reporter: Jozef Mlich <jmlich>
Component: fawkesAssignee: Tim Niemueller <tim>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: hhorak, richmattes, sergio, tim
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-05 02:07:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1230078    
Attachments:
Description Flags
update of opencv includes
none
fawkes-0.5.0-opencv3.patch
none
Spec file changes
none
Spec file changes none

Description Jozef Mlich 2015-07-02 11:53:38 UTC
Created attachment 1045481 [details]
update of opencv includes

Description of problem:
In opencv 3.0.0 is /usr/include/opencv not in CFLAGS anymore. It is necessary add path into include (e.g. #include <opencv/cv.h>) or include related module (e.g. #include <imgproc.h> ) which seems to be recommended.


Version-Release number of selected component (if applicable):
OpenCV 3.0.0, fawkes 0.5.0

The problem should be solved by attached patch. I would like to ask you for review.

I am not sure what is upstream for fawkes. On the website is link to the github and own private repository (trac). I haven't managed to create an user on that trac.

https://github.com/fawkesrobotics/fawkes/pull/1

I have created an COPR repository for testing purposes 
https://copr.fedoraproject.org/coprs/jmlich/opencv3/build/102177/

Comment 1 Jan Kurik 2015-07-15 13:51:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 3 Viktor Jancik 2015-08-14 14:38:18 UTC
Created attachment 1063042 [details]
fawkes-0.5.0-opencv3.patch

Updated patch for latest Release, separated it from spec file changes so it can be included as is.

Comment 4 Viktor Jancik 2015-08-14 14:39:51 UTC
Created attachment 1063043 [details]
Spec file changes

Comment 5 Viktor Jancik 2015-08-18 15:54:24 UTC
Created attachment 1064369 [details]
Spec file changes

Forgot -u diff flag

Comment 6 Sergio Basto 2016-05-05 02:07:50 UTC
Built in rawhide , Thanks , closing as fixed in rawhide