Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/enet/docs/install.dox @ 11819

Last change on this file since 11819 was 7459, checked in by adrfried, 14 years ago

Merged ipv6 branch

Orxonox now includes a modified version of ENet 1.3.0

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1/**
2@page Installation Installation
3
4ENet should be trivially simple to integrate with most applications.
5First, make sure you download the latest source distribution here @ref
6SourceDistro.
7
8@section Unix Unix-like Operating Systems
9
10If you are using an ENet release, then you should simply be able to build it
11by doing the following:
12
13./configure && make && make install
14
15If you obtained the package from CVS, you must have automake and autoconf
16available to generate the build system first by doing the following command
17before using the above mentioned build procedure:
18
19autoreconf -vfi
20
21
22@subsection SolarisBSD Solaris and BSD
23
24When building ENet under Solaris, you must specify the -lsocket and
25-lnsl parameters to your compiler to ensure that the sockets library
26is linked in.
27
28@section Windows Microsoft Windows
29
30There is an included MSVC 6 project (enet.dsp) which you may use to
31build a suitable library file. Alternatively, you may simply drag all
32the ENet source files into your main project.
33
34You will have to link to the Winsock2 libraries, so make sure to add
35ws2_32.lib and winmm.lib to your library list (Project Settings | Link |
36Object/library modules).
37
38@subsection enet.dsp Building with the included enet.dsp
39
40Load the included enet.dsp. MSVC may ask you to convert it if you
41are on a newer version of MSVC - just allow the conversion and save
42the resulting project as "enet" or similar. After you build this
43project, it will output an "enet.lib" file to either the "Debug/"
44or "Release/" directory, depending on which configuration you have
45selected to build. By default, it should produce "Debug/enet.lib".
46
47You may then copy the resulting "enet.lib" file and the header files
48found in the "include/" directory to your other projects and add it to
49their library lists. Make sure to also link against "ws2_32.lib" and
50"winmm.lib" as described above.
51
52@subsection DLL DLL
53
54If you wish to build ENet as a DLL you must first define ENET_DLL
55within the project (Project Settings | C/C++ | Preprocessor |
56Preprocessor definitions) or, more invasively, simply define ENET_DLL
57at the top of enet.h.
58
59*/
60
Note: See TracBrowser for help on using the repository browser.