public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Error while doing Hello World on Ubuntu 16.04
@ 2016-11-28 11:35 Jannis Ötjengerdes
  2016-11-28 17:15 ` Jarlstrom, Laurie
  0 siblings, 1 reply; 2+ messages in thread
From: Jannis Ötjengerdes @ 2016-11-28 11:35 UTC (permalink / raw)
  To: edk2-devel

Hello,

i followed your guide which is described here: https://github.com/tianocore/
tianocore.github.io/wiki/Getting-Started-Writing-Simple-Application. When I
try to build for X64 I get the following error which I should send to you:

(Python 2.7.12 on linux2) Traceback (most recent call last):
  File "/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2276, in Main
    MyBuild.Launch()
  File "/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2028, in Launch
    self._MultiThreadBuildPlatform()
  File "/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 1858, in _MultiThreadBuildPlatform
    Ma.CreateCodeFile(True)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/AutoGen.py", line
3997, in CreateCodeFile
    for File in self.AutoGenFileList:
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/AutoGen.py", line
3302, in _GetAutoGenFileList
    GenC.CreateCode(self, AutoGenC, AutoGenH, StringH, UniStringAutoGenC,
UniStringBinBuffer, StringIdf, IdfStringAutoGenC, IdfGenBinBuffer)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/GenC.py", line 1937,
in CreateCode
    CreateHeaderCode(Info, AutoGenC, AutoGenH)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/GenC.py", line 1895,
in CreateHeaderCode
    AutoGenH.Append("#define EFI_CALLER_ID_GUID \\\n  %s\n" %
GuidStringToGuidStructureString(Info.Guid))
  File "/opt/edk2_new/BaseTools/Source/Python/Common/Misc.py", line 297, in
GuidStringToGuidStructureString
    Result = Result + '0x' + GuidList[Index] + ', '
IndexError: list index out of range


- Failed -
Build end time: 12:30:42, Nov.28 2016
Build total time: 00:00:00


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error while doing Hello World on Ubuntu 16.04
  2016-11-28 11:35 Error while doing Hello World on Ubuntu 16.04 Jannis Ötjengerdes
@ 2016-11-28 17:15 ` Jarlstrom, Laurie
  0 siblings, 0 replies; 2+ messages in thread
From: Jarlstrom, Laurie @ 2016-11-28 17:15 UTC (permalink / raw)
  To: Jannis Ötjengerdes, edk2-devel@lists.01.org

Hi 

It looks like there is an error with the "FILE_GUID" you have in the file MyHelloWorld.inf.
Make sure to copy and paste a new GUID from the http://www.guidgen.com/  in this file
INF_VERSION                    = 1.25
  BASE_NAME                      = MyHelloWorld
  FILE_GUID                      =   "Copy and paste GUID here"

Example:
FILE_GUID                      =   05fe4409-66b3-4b0d-9acf-68a21a87186e


thanks,
Laurie
 
laurie.jarlstrom@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jannis Ötjengerdes
Sent: Monday, November 28, 2016 3:35 AM
To: edk2-devel@lists.01.org
Subject: [edk2] Error while doing Hello World on Ubuntu 16.04

Hello,

i followed your guide which is described here: https://github.com/tianocore/ tianocore.github.io/wiki/Getting-Started-Writing-Simple-Application. When I try to build for X64 I get the following error which I should send to you:

(Python 2.7.12 on linux2) Traceback (most recent call last):
  File "/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2276, in Main
    MyBuild.Launch()
  File "/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2028, in Launch
    self._MultiThreadBuildPlatform()
  File "/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 1858, in _MultiThreadBuildPlatform
    Ma.CreateCodeFile(True)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/AutoGen.py", line 3997, in CreateCodeFile
    for File in self.AutoGenFileList:
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/AutoGen.py", line 3302, in _GetAutoGenFileList
    GenC.CreateCode(self, AutoGenC, AutoGenH, StringH, UniStringAutoGenC, UniStringBinBuffer, StringIdf, IdfStringAutoGenC, IdfGenBinBuffer)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/GenC.py", line 1937, in CreateCode
    CreateHeaderCode(Info, AutoGenC, AutoGenH)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/GenC.py", line 1895, in CreateHeaderCode
    AutoGenH.Append("#define EFI_CALLER_ID_GUID \\\n  %s\n" %
GuidStringToGuidStructureString(Info.Guid))
  File "/opt/edk2_new/BaseTools/Source/Python/Common/Misc.py", line 297, in GuidStringToGuidStructureString
    Result = Result + '0x' + GuidList[Index] + ', '
IndexError: list index out of range


- Failed -
Build end time: 12:30:42, Nov.28 2016
Build total time: 00:00:00
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-28 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-28 11:35 Error while doing Hello World on Ubuntu 16.04 Jannis Ötjengerdes
2016-11-28 17:15 ` Jarlstrom, Laurie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox