有人可以帮助我解决此错误吗?
#include <utility>
#include <iostream>
#include <yaml-cpp/yaml.h>
class ConfigLoader
{
public:
ConfigLoader():loadedConfigFile(YAML::LoadFile("./home/muasad/Desktop/magna_mdf_reader/Config_file.yaml"))
{
}
private:
YAML::Node loadedConfigFile;
};
错误:未定义引用`YAML :: LoadFile(std :: __ cxx11 :: basic_string,std :: allocator> const&)'