我正在尝试在我的Buildroot包中添加只有头的库 "JSONC++“,以便在目标嵌入式Linux板上使用,以及在单元测试中在我的主机构建机器上使用。但是,无论我做什么,我都会得到各种各样的错误,包括ERROR: Dependency "nlohmann_json" not found, tried pkgconfig and cmake。有关我的设置的</
我最近发现nlohmann/json运行在C++ 11上,否则它会给出一些语法错误,因为使用更高版本的C++时有一行代码被弃用了。:2149:30: error: redundant redeclaration of 'constexpr' static data member 'nlohmann::detail::static_constT value{}; 通过使用关键术语nlohmann,我能够运行一个普通的</em