Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#6701 closed defect (fixed)

Includepath fix for libmythdvdnav build failure

Reported by: anonymous Owned by: Janne Grunau
Priority: minor Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

After upgrading to Qt 4.5.2, mythtv build failed with the following errors:

dvdnav/dvdnav.c:36:27: error: dvdnav/dvdnav.h: No such file or directory
dvdnav/dvdnav.c:37:32: error: dvdread/dvd_reader.h: No such file or directory
dvdnav/dvdnav.c:38:31: error: dvdread/nav_types.h: No such file or directory
dvdnav/dvdnav.c:39:50: error: dvdread/ifo_types.h: No such file or directory

Looking at dvdnav.c (and other source files in libmythdvdnav), the includes are indeed defined inconsistently and not fully resolved in the .pro file. For example, in dvdnav.c:

36: #include "dvdnav/dvdnav.h"
40: #include "remap.h"

Yet both files are in the same directory (libmythdvdnav/dvdnav).

The attached patch fixes this problem by explicitly adding '.' to the INCLUDEPATH in libmythdvdnav.pro.

Attachments (1)

dvdnav.patch (384 bytes ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (5)

by anonymous, 16 years ago

Attachment: dvdnav.patch added

comment:1 by MarcT, 16 years ago

Confirmed this also resolved my issue when I updated QT to 4.5.3

comment:2 by Janne Grunau, 16 years ago

Milestone: unknown0.22
Owner: changed from Isaac Richards to Janne Grunau
Status: newaccepted

comment:3 by Janne Grunau, 16 years ago

Resolution: fixed
Status: acceptedclosed

(In [22480]) Adds . to libmythdvdnav INCLUDEPATH, Fixes #6701

comment:4 by Janne Grunau, 16 years ago

(In [22481]) backports [22480] from trunk

Adds . to libmythdvdnav INCLUDEPATH, Fixes #6701

Note: See TracTickets for help on using tickets.