如何修复 SCons 错误:Do not know how to make File target `clean'
问题:
你正在尝试使用以下命令清理 SCons 构建
clean.sh
scons clean但你看到以下错误消息:
error.txt
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make File target `clean' (/home/user/myproject/clean). Stop.
scons: building terminated because of errors.解决方案
使用 SCons 时,正确的清理命令是
clean.sh
scons --cleanCheck out similar posts by category:
Build Systems, SCons
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow