问题描述
我已经从镜像站点下载了POCO,并且在编译时无法链接库? 例子
EntityManager
编译错误
#include "Poco/Timestamp.h"
#include<iostream>
#include <ctime>
using Poco::Timestamp;
int main(int argc,char** argv)
{
Timestamp Now; // the current date and time
std::time_t t1 = Now.epochTime(); // convert to time_t ...
Timestamp ts1(Timestamp::fromEpochTime(t1)); // ... and back again
for (int i = 0; i < 100000; ++i) ; // wait a bit
Timestamp::TimeDiff diff = Now.elapsed(); // how long did it take?
Timestamp start(Now); // save start time
Now.update(); // update with current
time
diff = Now - start; // again,how long?
return 0;
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)