环境:Windows10
make 版本:
GNU Make 3.82.90
Built for i686-pc-mingw32
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
执行make出现错误
make: *** INTERNAL: readdir: No such file or directory
. Stop.
解决方法:
参考类似问题: mingw32-make error
找到工具ProcessMonitor,filter :
filter the process name to mingw32-make.exe and operation to createfile,
执行一次make,可以看到结果

这里有个奇怪的东西,因为我的java装在C盘,所以也不知道为啥要在D盘搜索
所以把C盘相应的文件夹在D盘复制一份:

之后make可以正常编译。
本文介绍了一种在Windows10环境下使用GNUMake时遇到的编译错误及解决方法。错误提示为make:***INTERNAL:readdir:Nosuchfileordirectory。通过使用ProcessMonitor定位到问题原因,并通过复制缺失文件夹解决了该问题。



303

被折叠的 条评论
为什么被折叠?



