jeremyczhen / fdbus

FDBus - Fast Distributed Bus
https://blog.csdn.net/jeremy_cz/article/details/89060291
161 stars 85 forks source link

windows 下编译问题 #19

Open voicialex opened 3 years ago

voicialex commented 3 years ago

请问封装了线程, 但是好像之后就没有使用封装的线程了, 在 CFdbSession.h 下直接调用了 头文件, MSVC下不存在该头文件, 导致编译失败. 请问作者在window下成功编译过了吗?

jeremyczhen commented 3 years ago

Windows下是可以编译的,需要定义宏WIN32。已经有一阵子没有编译window版本了,我验证一下再更新给你。

jeremyczhen commented 3 years ago

Windows下是可以编译的,可以参考https://github.com/jeremyczhen/fdbus里“Build with buildCentral”一节,用buildCentral来编译。