virConnectCreateXML doest似乎对我有用 我创建了以下程序并编译它但似乎有些链接问题或某种问题所以我得到这些错误
FBSDKLoginKit.framework
程序:
me.cpp: In function ‘int main(int, char**)’:
me.cpp:21:45: error: ‘virConnectCreateXML’ was not declared in this scope
dom = virConnectCreateXML(conn, xmlconfig, 0);
^
me.cpp:24:5: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
return;
^
me.cpp:26:57: error: ‘virDomainName’ was not declared in this scope
fprintf(stderr, "Guest %s has booted", virDomainName(dom));
^
事先感谢帮助
答案 0 :(得分:0)