uNetworking / uSockets

Miniscule cross-platform eventing, networking & crypto for async applications
Apache License 2.0
1.29k stars 268 forks source link

Getting this to work on Windows 10 #46

Closed Suhail closed 5 years ago

Suhail commented 5 years ago

Hey there, having some trouble getting this to work on Windows. This is my error:

server.obj : error LNK2019: unresolved external symbol us_create_ssl_socket_context referenced in function "struct us_new_socket_context_t * __cdecl us_new_create_socket_context(int,struct us_loop *,int,str
uct us_new_socket_context_options_t)" (?us_new_create_socket_context@@YAPEAUus_new_socket_context_t@@HPEAUus_loop@@HUus_new_socket_context_options_t@@@Z) [endec\build\testaddon.vcxproj]

I must not be linking some .lib file that I need as a dependency that has the forward declarations. Do you know which ones I am supposed to link?

So far I am doing:

Suhail commented 5 years ago

wrong place