现象:将两个std::string类型的字符串作为参数传给initWholeAlgorithm函数后,在initWholeAlgorithm函数中无法正确解析到字符串中的内容。
void BodyTracking::initWholeAlgorithm(std::string& detect_model, std::string& track_model)
这个函数是动态库导出类中的函数。
原因是:我的动态库导出类时,是在release模式下导出的。但是使用动态库时,实在debug模式下编译的应用程序。