install.dox 1.1 KB

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