Bug 1238677 - error: 'threshold' is not a member of 'cv' with opencv 3.0.0
Summary: error: 'threshold' is not a member of 'cv' with opencv 3.0.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fawkes
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Niemueller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: opencv3
TreeView+ depends on / blocked
 
Reported: 2015-07-02 11:53 UTC by Jozef Mlich
Modified: 2016-05-05 02:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-05 02:07:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
update of opencv includes (6.61 KB, application/mbox)
2015-07-02 11:53 UTC, Jozef Mlich
no flags Details
fawkes-0.5.0-opencv3.patch (4.66 KB, patch)
2015-08-14 14:38 UTC, Viktor Jancik
no flags Details | Diff
Spec file changes (358 bytes, patch)
2015-08-14 14:39 UTC, Viktor Jancik
no flags Details | Diff
Spec file changes (1.19 KB, patch)
2015-08-18 15:54 UTC, Viktor Jancik
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.