0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[MikanOS] error 000E: File/directory not found in workspace の対処法

Last updated at Posted at 2025-04-13

環境

Intel Mac + docker

エラー内容

vscode ➜ ~/edk2 (38c8be123a) $ build
Build environment: Linux-6.10.14-linuxkit-x86_64-with-glibc2.29
Build start time: 04:05:19, Apr.13 2025

WORKSPACE = /home/vscode/edk2
EDK_TOOLS_PATH = /home/vscode/edk2/BaseTools
CONF_PATH = /home/vscode/edk2/Conf
PYTHON_COMMAND = /usr/bin/python3.8

build.py...
: error 000E: File/directory not found in workspace
/MikanLoaderPkg/MikanLoaderPkg.dsc (Please give file in absolute path or relative to WORKSPACE)

Failed -
Build end time: 04:05:20, Apr.13 2025
Build total time: 00:00:00

対処法

ls -la ~/edk2/MikanLoaderPkg
cp /workspaces/mikanos-devcontainer/target.txt ~/edk2/Conf/target.txt
sed -i 's|ACTIVE_PLATFORM       = MikanLoaderPkg/MikanLoaderPkg.dsc|ACTIVE_PLATFORM       = MikanLoaderPkg/MikanLoaderPkg.dsc|' ~/edk2/Conf/target.txt
cd ~/edk2
source edksetup.sh
build

シンボリックが正しくMikanLoaderPkgをさしてなかった、もしくhtarget.txtがworkspaceの構造と合ってなかった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?