You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All that I needed in order to compile for MinGW on Window is:
set the window macro for window 10. _WIN32_WINNT=0x0A00
And link to winsock. -ws2_32.
In CMake, it look like this.
if (WIN32)
if (MINGW)
add_definitions(-D_WIN32_WINNT=0x0A00)
endif(MINGW)
#link_libraries(wsock32 ws2_32)
link_libraries(ws2_32)
endif (WIN32)
The library should be tested using MinGW and Visual C++ on Windows to confirm that it has cross-platform support.
The text was updated successfully, but these errors were encountered: