2 @page Installation Installation
\r
4 ENet should be trivially simple to integrate with most applications.
\r
5 First, make sure you download the latest source distribution here @ref
\r
8 @section Unix Unix-like Operating Systems
\r
12 @subsection SolarisBSD Solaris and BSD
\r
14 When building ENet under Solaris, you must specify the -lsocket and
\r
15 -lnsl parameters to your compiler to ensure that the sockets library
\r
18 @section Windows Microsoft Windows
\r
20 Using MSVC 6 under Windows simply drag all the ENet source files into
\r
21 your main project or, better yet, create a new static library project
\r
22 and make your executable dependent (Project|Dependencies) on ENet.
\r
23 There is also an enet.dsp provided.
\r
25 You will have to link to the Winsock2 libraries, so make sure to add
\r
26 ws2_32.lib to your library list (Project Settings | Link |
\r
27 Object/library modules).
\r
31 If you wish to build ENet as a DLL you must first define ENET_DLL
\r
32 within the project (Project Settings | C/C++ | Preprocessor |
\r
33 Preprocessor definitions) or, more invasively, simply define ENET_DLL
\r
34 at the top of enet.h.
\r