问题:
不使用缺省位置
,使用自定义工程路径。
新建项目,打开 RT-Thread Settings
报错如下:
Error retrieving output from the rttconfig server, caused by .rtmenus, please check the error log.
控制台日志:
[10000] Failed to execute script k2j
Traceback (most recent call last):
File "kconfig_new\k2j.py", line 611, in <module>
File "kconfig_new\k2j.py", line 193, in main
File "kconfig_new\kconfiglib.py", line 1030, in __init__
File "kconfig_new\kconfiglib.py", line 2970, in _parse_block
kconfiglib.KconfigError: ./Kconfig:18: 'rt-thread/Kconfig' not found (in 'source "$RTT_DIR/Kconfig"'). Check that environment variables are set correctly (e.g. $srctree, which is unset or blank). Also note that unset environment variables expand to the empty string.
done!
- 参考:RT-Thread Settings 打不开时的部分解决方案 的方法无效
- 重启软件无效
解决:
1、项目路径改为使用缺省位置
2、或者切换工作空间