Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 下编译问题 #19

Open
voicialex opened this issue Aug 24, 2020 · 2 comments
Open

windows 下编译问题 #19

voicialex opened this issue Aug 24, 2020 · 2 comments

Comments

@voicialex
Copy link

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

@jeremyczhen
Copy link
Owner

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

@jeremyczhen
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants