Skip to content
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

按官方文档无法编译 #134

Open
Kusabier opened this issue Nov 16, 2024 · 0 comments
Open

按官方文档无法编译 #134

Kusabier opened this issue Nov 16, 2024 · 0 comments

Comments

@Kusabier
Copy link

PS C:\Users\Kusabier\Desktop\FMT-Firmware\target\cuav\v5_plus> scons -j4
scons: Reading SConscript files ...
'fnm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
OSError: 'fnm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
:
File "C:\Users\Kusabier\Desktop\FMT-Firmware\target\cuav\v5_plus\SConstruct", line 58:
Export('RTT_ROOT')
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Script\SConscript.py", line 658:
env = self.factory()
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Script\SConscript.py", line 638:
default_env = SCons.Defaults.DefaultEnvironment()
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Defaults.py", line 83:
default_env = SCons.Environment.Environment(*args, **kw)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Environment.py", line 1030:
apply_tools(self, tools, toolpath)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Environment.py", line 116:
_ = env.Tool(tool)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Environment.py", line 1906:
tool(self)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool_init
.py", line 265:
self.generate(env, *args, **kw)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\default.py", line 41:
SCons.Tool.Tool(t)(env)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool_init_.py", line 265:
self.generate(env, *args, **kw)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\mslink.py", line 312:
msvc_setup_env_once(env, tool=tool_name)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\MSCommon\vc.py", line 1110:
msvc_setup_env(env)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\MSCommon\vc.py", line 1259:
d = msvc_find_valid_batch_script(env,version)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\MSCommon\vc.py", line 1162:
d = script_env(env, vc_script, args=arg)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\MSCommon\vc.py", line 1030:
stdout = common.get_output(script, args)
File "C:\Users\Kusabier\miniconda3\Lib\site-packages\SCons\Tool\MSCommon\common.py", line 341:
raise IOError(stderr.decode(OEM))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant