添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
cloned from master on 07/09/2020 built using waf cc version used during ns-3 configuration - Checking for cc version : 7.5.0

parts of the ns-3 script - #include <jsoncpp/json/json.h> #include <jsoncpp/json/forwards.h> #include <jsoncpp/json/writer.h> #include <jsoncpp/json/reader.h>

void readMicroGridConfig(std::string fpath, Json::Value& configobj) ifstream tifs(fpath); Json::Reader configreader; configreader.parse(tifs, configobj);

Error during ./waf build --run scratch/filename undefined reference to Json::Reader::Reader()' undefined reference to Json::Reader::parse(std::istream&, Json::Value&, bool)'

Similarly, there are same undefined reference errors every time Json::Value is used in the script.

Edited by Priya Thekkumparambath Mana