UDT Installation Guide

Installation Guide

The UDT library is distributed with source codes, example applications, simulation scripts, and documentation. Currently the source codes can be compiled on Linux, BSD, and Solaris system.

Here is the content of the distribution:

./src: UDT source codes

./app: Example applications

./sim: NS-2 simulation scripts

./doc: UDT documentation

The library is in the original source codes format without any installation tools, so installation is simply a make command. To make the C++ source codes on different platform, the user need to explicitly tell make the current operating system and hardware architecture with "-e" option.

The available options for operating system are: LINUX, BSD, and UNIX.

The available options for hardware architecture are: IA32, POWERPC, and SPARC.

The command is in the format:

make -e os=XXX arch=YYY

where XXX and YYY are one of the options above. Note that it is capital sensitive. There is a default value for Linux on IA32 architecture, so if UDT is complied on such a system, simply use make.

After a successful make, you can use UDT library now. The (only) header file udt.h and the library libudt.a in ./src directory. On Linux system, the dynamic library libudt.so is also generated.

If using libudt.so, the library path environment variable must be updated:

export LD_LIBRARY_PATH=<location of libudt.so>:$LD_LIBRARY_PATH