Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8830 closed defect (fixed)

Win32 Build failing (Trunk & Head)

Reported by: Bradley Ford <wombo1@…> Owned by: Janne Grunau
Priority: minor Milestone: 0.24
Component: Ports - Windows Version: Master Head
Severity: high Keywords: ffmpeg win32
Cc: Ticket locked: no

Description

Hi I have just tried installing the Win32 Trunk Build using the latest build script. (First time on this PC)

I first tried using the script with standard settings; I then tried again after deleting the mythtv directory but this time building from Head.

Each time it is failing at the FFmpeg section: below is an extract of the failure

CC      libavformat/img2.o
libavformat/img2.c: In function 'av_str2id':
libavformat/img2.c:112: error: implicit declaration of function 'strcasecmp'
make[2]: *** [libavformat/img2.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/C/mythtv/mythtv/external/FFmpeg'
make[1]: *** [FFmpeg] Error 2
make[1]: Leaving directory `/C/mythtv/mythtv/external'
make: *** [sub-external-make_default-ordered] Error 2
EFFECT FAILED (newer -> shell): mtime of file (C:/mythtv/mythtv/libs/libmyth/libmyth-0.23.dll) should be greater than file (C:/mythtv/mythtv/last_build.txt).
[0]  [1282969522]

C:\mythtv\packaging\Win32\build>

I found the following in my search for an answer http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&p=5045

Change History (3)

comment:1 Changed 9 years ago by robertm

Milestone: 0.24unknown
Owner: changed from Nigel to Janne Grunau
Status: newassigned

Please see the ticket howto, do no t set milestone.

Janne, I and others are having to comment out "check_cflags -Werror=implicit-function-declaration" in configure to get compilation on Win32 and OS X. Thoughts?

comment:2 Changed 9 years ago by Janne Grunau

Resolution: fixed
Status: assignedclosed

(In [25898]) configure: comment -Werror* cflags

they cause more trouble than it's worth it. Fixes #8830

comment:3 Changed 9 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.