On Aug 12, 2024, at 7:25 PM, michael yang <myang58@gmail.com> wrote:

Hi, 
build failed, could you please?
D:\work\dev\efiWorkspace\edk2>build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64

Your build command is implying D:\work\dev\efiWorkspace\edk2\EmulatorPkg\EmulatorPkg.dsc but your WORKSPACE is d:\work\dev\efiworkspace thus '\\\\?\\d:\\work\\dev\\efiworkspace\\EmulatorPkg\\EmulatorPkg.dsc’ does not exist. 

So your WORKSPACE env variable seems setup wrong? This is usually setup via edksetup.bat. Try deleting the WORKSPACE env variable and setting it up again?

Thanks,

Andrew Fish

Build environment: Windows-10-10.0.19045-SP0
Build start time: 10:24:16, Aug.13 2024

WORKSPACE        = d:\work\dev\efiworkspace
EDK_TOOLS_PATH   = d:\work\dev\efiworkspace\edk2\basetools
EDK_TOOLS_BIN    = d:\work\dev\efiworkspace\edk2\basetools\bin\win32
CONF_PATH        = d:\work\dev\efiworkspace\edk2\conf
PYTHON_COMMAND   = py -3


build.py...
 : error C0DE: Unknown fatal error when processing [d:\work\dev\efiworkspace\EmulatorPkg\EmulatorPkg.dsc]

(Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)

(Python 3.10.5 on win32) Traceback (most recent call last):
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 2692, in Main
    MyBuild = Build(Target, Workspace, Option,LogQ)
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 815, in __init__
    self.InitPreBuild()
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 1015, in InitPreBuild
    self.LoadConfiguration()
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 971, in LoadConfiguration
    self.GetToolChainAndFamilyFromDsc (self.PlatformFile)
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 905, in GetToolChainAndFamilyFromDsc
    dscobj = self.BuildDatabase[File, BuildArch]
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 104, in __getitem__
    BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 120, in CreateBuildObject
    MetaFileStorage(self.WorkspaceDb, FilePath, FileType)
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 426, in __new__
    reval = Class._FILE_TABLE_[FileType](*Args)
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 303, in __init__
    MetaFileTable.__init__(self, Cursor, MetaFile, MODEL_FILE_DSC, Temporary, FromItem)
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 39, in __init__
    MetaFile.TimeStamp,
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Common\Misc.py", line 1539, in TimeStamp
    return os.stat(self.Path)[8]
  File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Common\LongFilePathOs.py", line 51, in stat
    return os.stat(LongFilePath(path))
FileNotFoundError: [WinError 3] The system cannot find the path specified: '\\\\?\\d:\\work\\dev\\efiworkspace\\EmulatorPkg\\EmulatorPkg.dsc'


- Failed -
Build end time: 10:24:16, Aug.13 2024
Build total time: 00:00:00

-- 
Thanks, Michael Yang

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#120328) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_