Opened 3 years ago

Closed 5 weeks ago

#2230 closed defect (invalid)

build error: conflicting types for 'BITMAPINFOHEADER'

Reported by: 4Selur@… Owned by: beastd
Priority: normal Component: undetermined
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Trying to build mplayer with ffmpeg using: https://github.com/jb-alvarado/media-autobuild_suite

I get a bunch of errors like:

H:/media-autobuild_suite/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:603:5: error: conflicting types for 'BITMAPINFOHEADER'
   } BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER;
     ^

see: http://pastebin.com/aPjspHtd

Would be nice if someone with more builing mplayer experience could have a look at this and advice on how to resolve the issue.

Change History (3)

comment:1 Changed 3 years ago by beastd

Are you still experiencing this build failure?

If yes, does it go away if you move one ad_internal.h include down like this:

  • libmpcodecs/ad_spdif.c

    a b  
    2020 
    2121#include "config.h" 
    2222#include "mp_msg.h" 
    23 #include "ad_internal.h" 
    2423#include "av_helpers.h" 
    2524#include "libavformat/avformat.h" 
    2625#include "libavformat/internal.h" 
    2726#include "libavcodec/avcodec.h" 
    2827#include "libavutil/opt.h" 
     28#include "ad_internal.h" 
    2929 
    3030static const ad_info_t info = { 
    3131    "libavformat/spdifenc audio pass-through decoder.", 

comment:2 Changed 3 years ago by 4Selur@…

Are you still experiencing this build failure?

No, they fixed it on their end somehow.

comment:3 Changed 5 weeks ago by beastd

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.