enet icon indicating copy to clipboard operation
enet copied to clipboard

compiling a dll in visual studio

Open JernejL opened this issue 6 years ago • 2 comments

I've followed instructions on website and added ENET_DLL but this is not enough to compile enet into a dll, what else has to be done?

JernejL avatar Mar 14 '19 07:03 JernejL

did you include the following libraries when compiling?

ws2_32.lib and winmm.lib t

https://github.com/lsalzman/enet/blob/master/docs/install.dox

Khyretos avatar Aug 13 '20 15:08 Khyretos

Visual Studio got official, first-class support for CMake projects in the meantime.

Once #242 gets merged, building enet shared via VS should be much simpler, without any manual modifications.

Croydon avatar Apr 18 '24 00:04 Croydon