Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 libconfig 库打开 wifi.conf 的简单任务以“/tmp/wifi.conf:6 处的解析错误 - 语法错误”结尾
“问题”配置行只是:WIFI_MODE=sta
资料来源:
#include <libconfig.h++>
... cfg.readFile("/tmp/wifi.conf"); ...
有什么问题?
我发现了问题:没有引用字符串数据。