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

想问下链接库的问题 #43

Open
kunwl123456 opened this issue Nov 5, 2021 · 1 comment
Open

想问下链接库的问题 #43

kunwl123456 opened this issue Nov 5, 2021 · 1 comment

Comments

@kunwl123456
Copy link

我测试demo中使用了函数:zookeeper_init链接多线程库,连接zokeeper就能连接的上,但是使用st单线程库怎么连接不上zookeeper,

@kunwl123456
Copy link
Author

我库文件都是全的,项目之前用过
单线程:
add_compile_options(-lzookeeper_st)
add_executable(QServer QueryServer.c)
target_link_libraries(QServer libzookeeper_st.a pthread m)

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

1 participant