public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dashing Meng <dashing_meng@163.com>
To: Andrew Fish <afish@apple.com>
Cc: edk2-devel@lists.01.org
Subject: Re: Miss "IMAGE_FORMAT" type name error when compile EDK2
Date: Thu, 29 Sep 2016 10:33:47 +0800	[thread overview]
Message-ID: <20160929103347.46112fb41dc396974fa5bb41@163.com> (raw)
In-Reply-To: <C3844547-F4CF-4150-A89F-1D5C2B781E7C@apple.com>

On Wed, 28 Sep 2016 19:09:12 -0700
Andrew Fish <afish@apple.com> wrote:

> 
> > On Sep 28, 2016, at 6:43 PM, dashing meng <dashing_meng@163.com> wrote:
> > 
> > Sorry for my web mail, it it always top posting.
> > 
> > It seems the update for edk2 repository deleted the defination of type "IMAGE_FORMAT" in 
> > "MdeModulePkg/Include/Protocol/PlatformLogo.h" few days ago.
> > 
> > See: https://github.com/tianocore/edk2/commit/e0ac9c8a9bd67ab934bca86504706b5400cde558 <https://github.com/tianocore/edk2/commit/e0ac9c8a9bd67ab934bca86504706b5400cde558>
> > 
> > Please fix this error.
> > 
> 
> Please file a bug: https://bugzilla.tianocore.org
> 
> Thanks,
> 
> Andrew Fish
> 
> > Thanks.
> > 
> > Dashing Meng 
> > 
> > 
> > 
> > 
> > 在 2016-09-28 22:38:29,"Andrew Fish" <afish@apple.com> 写道:
> > 
> >> On Sep 28, 2016, at 6:01 AM, dashing meng <dashing_meng@163.com <mailto:dashing_meng@163.com>> wrote:
> >> 
> >> 
> >> Hi,
> >> Everyone.
> >> 
> >> My machine is a Intel P6200 cpu, no vt-x support, 64bit, Debian 8 64bit OS.
> >> 
> >> I am compiling EDK2 with the instruction at: https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions <https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions>
> >> When "Build Hello World!  (and the rest of MdeModulePkg)" by excute "build" command, I encounter the error message
> >> below:
> >>  /src/edk2/MdeModulePkg/Include/Library/ImageDecoderLib.h:22:7: error: unknown type name ‘IMAGE_FORMAT’
> >>    IN  IMAGE_FORMAT                  ImageFormat,
> >> I search the source, search the web, have not found any library file include type name "IMAGE_FORMAT", 
> >> Where can I find the file define the type of "IMAGE_FORMAT"? Anyone has any clue to fix this error?
> >> 
> > 
> > It looks like MdeModulePkg/Include/Protocol/PlatformLogo.h contains the definition of IMAGE_FORMAT and it is an enum. It should be included by MdeModulePkg/Include/Library/ImageDecoderLib.h
> > 
> > 
> > ~/work/src/edk2(master)>git grep -w IMAGE_FORMAT
> > MdeModulePkg/Include/Library/BootLogoLib.h:37:  IN  IMAGE_FORMAT                          ImageFormat,
> > MdeModulePkg/Include/Library/ImageDecoderLib.h:22:  IN  IMAGE_FORMAT                  ImageFormat,
> > MdeModulePkg/Include/Library/ImageDecoderLib.h:52:  IN  IMAGE_FORMAT                  ImageFormat,
> > MdeModulePkg/Include/Protocol/PlatformLogo.h:33:} IMAGE_FORMAT;
> > MdeModulePkg/Include/Protocol/PlatformLogo.h:70:     OUT IMAGE_FORMAT                          *Format,
> > MdeModulePkg/Library/BmpImageDecoderLib/BmpImageDecoderLib.c:43:  IN  IMAGE_FORMAT                  ImageFormat,
> > MdeModulePkg/Library/BootLogoLib/BootLogoLib.c:47:  IN  IMAGE_FORMAT                          ImageFormat,
> > MdeModulePkg/Library/ImageDecoderLib/ImageDecoderLib.c:55:  IN  IMAGE_FORMAT                  ImageFormat,
> > ~/work/src/edk2(master)>git blame -L33,33 MdeModulePkg/Include/Protocol/PlatformLogo.h
> > 6313eb25 (Ruiyu Ni 2015-11-12 05:19:22 +0000 33) } IMAGE_FORMAT;
> > ~/work/src/edk2(master)>git blame -L17,17 MdeModulePkg/Include/Library/ImageDecoderLib.h
> > 345c2b07 (Ruiyu Ni 2015-11-12 05:21:38 +0000 17) #include <Protocol/PlatformLogo.h>
> > 

Thanks.

I file a bug report at: https://bugzilla.tianocore.org/show_bug.cgi?id=133

Bug 133 - Miss type defination of "IMAGE_FORMAT" and "DECODE_IMAGE" in "Include/Library/ImageDecoderLib.h"

-- 
Dashing Meng <dashing_meng@163.com>



      parent reply	other threads:[~2016-09-29  2:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28 13:01 Miss "IMAGE_FORMAT" type name error when compile EDK2 dashing meng
2016-09-28 14:38 ` Andrew Fish
2016-09-29  1:52   ` dashing meng
     [not found]   ` <61ccfed6.4678.157739c18b8.Coremail.dashing_meng@163.com>
     [not found]     ` <C3844547-F4CF-4150-A89F-1D5C2B781E7C@apple.com>
2016-09-29  2:33       ` Dashing Meng [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160929103347.46112fb41dc396974fa5bb41@163.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox