opencv pkgconfig file has the wrong include dir

Bug #989365 reported by Neil Han
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
opencv (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Won't Fix
Medium
Unassigned
Quantal
Fix Released
Medium
Unassigned

Bug Description

After install opencv core, and development files, I am having problem with finding the cv.h files.

Please let me know what you need.

Here is a few command line output:

wwu@tpr600:~$ pkg-config --libs opencv
-lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
wwu@tpr600:~$ pkg-config --cflags opencv
-I/usr/include/opencv
wwu@tpr600:~$ ls /usr/include/opencv
ls: cannot access /usr/include/opencv: No such file or directory
wwu@tpr600:~$ locate cv.h
/usr/include/netiucv/iucv.h
/usr/lib/perl/5.14.2/CORE/cv.h
/usr/src/linux-headers-3.2.0-18/include/net/iucv/af_iucv.h
/usr/src/linux-headers-3.2.0-18/include/net/iucv/iucv.h
/usr/src/linux-headers-3.2.0-23/include/net/iucv/af_iucv.h
/usr/src/linux-headers-3.2.0-23/include/net/iucv/iucv.h
wwu@tpr600:~$

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this to Ubuntu. The new path should be /usr/include/opencv2. This should be fixed for Quantal and then SRUd to Precise.

affects: ubuntu → opencv (Ubuntu)
Changed in opencv (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - 12.04 opencv development files pkg seams not right
+ opencv pkgconfig file has the wrong include dir
Changed in opencv (Ubuntu Precise):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Nobuhiro Iwamatsu (iwamatsu) wrote :

This is alredy fixed in -11.

Micah Gersten (micahg)
Changed in opencv (Ubuntu Quantal):
status: Triaged → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in opencv (Ubuntu Precise):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.