Last change
on this file since 14 was
13,
checked in by landauf, 17 years ago
|
added enet
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[13] | 1 | /** |
---|
| 2 | @page Installation Installation |
---|
| 3 | |
---|
| 4 | ENet should be trivially simple to integrate with most applications. |
---|
| 5 | First, make sure you download the latest source distribution here @ref |
---|
| 6 | SourceDistro. |
---|
| 7 | |
---|
| 8 | @section Unix Unix-like Operating Systems |
---|
| 9 | |
---|
| 10 | [to be completed] |
---|
| 11 | |
---|
| 12 | @subsection SolarisBSD Solaris and BSD |
---|
| 13 | |
---|
| 14 | When building ENet under Solaris, you must specify the -lsocket and |
---|
| 15 | -lnsl parameters to your compiler to ensure that the sockets library |
---|
| 16 | is linked in. |
---|
| 17 | |
---|
| 18 | @section Windows Microsoft Windows |
---|
| 19 | |
---|
| 20 | Using MSVC 6 under Windows simply drag all the ENet source files into |
---|
| 21 | your main project or, better yet, create a new static library project |
---|
| 22 | and make your executable dependent (Project|Dependencies) on ENet. |
---|
| 23 | There is also an enet.dsp provided. |
---|
| 24 | |
---|
| 25 | You will have to link to the Winsock2 libraries, so make sure to add |
---|
| 26 | ws2_32.lib to your library list (Project Settings | Link | |
---|
| 27 | Object/library modules). |
---|
| 28 | |
---|
| 29 | @subsection DLL DLL |
---|
| 30 | |
---|
| 31 | If you wish to build ENet as a DLL you must first define ENET_DLL |
---|
| 32 | within the project (Project Settings | C/C++ | Preprocessor | |
---|
| 33 | Preprocessor definitions) or, more invasively, simply define ENET_DLL |
---|
| 34 | at the top of enet.h. |
---|
| 35 | |
---|
| 36 | */ |
---|
| 37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.