Skip to content

[hotfix] taopq requires ws2_32 on Windows #65

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

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

uilianries
Copy link
Member

Both WSAPoll and WSAGetLastError are native Windows functions and implemented by Ws2_32 library.

Both functions are used by Connection.cpp when building for Windows.

CMake does not injects that library automatically, when winsock2.h is listed, neither Windows compiler, so we need to add it manually.

fixes #64

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error: undefined reference to 'WSAPoll', '__imp_WSAGetLastError'
2 participants