-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
02_day 运行make run出错 process_begin: CreateProcess((null), copy helloos.img ..\z_tools\qemu\fdimage0.bin, ...) failed. #13
Comments
@yourtion 上边这个问题解决了,我改了makeFile的内容。我把原来的 中的 $(COPY) haribote.img ..\z_tools\qemu\fdimage0.bin移到了 |
第二天已经没有问题了。 这次的问题是出现在: 有谁遇到相同问题的小伙伴一起讨论一下啊。 |
可以使用cmd终端来运行。或者改成 |
可以把copy 命令 改成 cp命令 我尝试了一下成功了 |
我在day03也遇到了这个问题,成功解决方案:在copy命令前面加上cmd /c 即可。 |
在Day 2的最后运行make run时,报以下错误:
D:\makeselfos\tolset\helloos5>..\z_tools\make.exe run
../z_tools/make.exe img
make.exe[1]: Entering directory
D:/makeselfos/tolset/helloos5' ../z_tools/make.exe -r helloos.img make.exe[2]: Entering directory
D:/makeselfos/tolset/helloos5'../z_tools/nask.exe ipl.nas ipl.bin ipl.lst
../z_tools/edimg.exe imgin:../z_tools/fdimg0at.tek
wbinimg src:ipl.bin len:512 from:0 to:0 imgout:helloos.img
make.exe[2]: Leaving directory
D:/makeselfos/tolset/helloos5' make.exe[1]: Leaving directory
D:/makeselfos/tolset/helloos5'copy helloos.img ..\z_tools\qemu\fdimage0.bin
process_begin: CreateProcess((null), copy helloos.img ..\z_tools\qemu\fdimage0.bin, ...) failed.
make (e=2): 系统找不到指定的文件。
..\z_tools\make.exe: *** [run] Error 2
如果只是运行run,就没有出错。请问一下这是什么原因?
PS:我的Makefile文件中run的命令是这样的:
run :
../z_tools/make.exe img
copy helloos.img ..\z_tools\qemu\fdimage0.bin
../z_tools/make.exe -C ../z_tools/qemu
The text was updated successfully, but these errors were encountered: