Revision 77c578fc host/README

b/host/README
16 16
LF RX
17 17
LF TX
18 18
RFX Series
19

  
20
########################################################################
21
# Dependencies
22
########################################################################
23
Unix Notes:
24
    These dependencies can be acquired through the package manager.
25
Windows Notes:
26
    These dependencies can be acquired through installable exe files.
27
    Usually, the windows installer can be found on the project's website.
28
    Some projects do not host windows installers, and if this is the case,
29
    follow the auxiliary download url for the windows installer (below).
30

  
31
Git:
32
    Required to check out the repository (not needed for source downloads).
33
    On windows, install cygwin with git support to checkout the repository,
34
    or install msysgit from http://code.google.com/p/msysgit/downloads/list
35

  
36
C++:
37
    On unix, this is GCC 4.0 and above. On windows, this is MSVC 2008.
38
    Other compilers have not been tested yet or confirmed working.
39

  
40
CMake:
41
    Version: at least 2.8
42
    Required for: build time
43
    Download URL: http://www.cmake.org/cmake/resources/software.html
44

  
45
Boost:
46
    Version: at least 3.6 unix, at least 4.0 windows
47
    Required for: build time + run time
48
    Download URL: http://www.boost.org/users/download/
49
    Download URL (windows installer): http://www.boostpro.com/download
50

  
51
Python:
52
    Version: at least 2.6
53
    Required for: build time
54
    Download URL: http://www.python.org/download/
55

  
56
Cheetah:
57
    Version: at least 2.0
58
    Required for: build time
59
    Download URL: http://www.cheetahtemplate.org/download.html
60
    Download URL (windows installer): http://feisley.com/python/cheetah/
61

  
62
Doxygen:
63
    Required for: build time (optional)
64
    Download URL: http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc
65

  
66
########################################################################
67
# Build Instructions (unix)
68
########################################################################
69
cd <uhd-repo-path>/host
70
mkdir build
71
cd build
72
cmake ../
73
make
74
make test
75
sudo make install
76

  
77
For a custom prefix, use: cmake -DCMAKE_INSTALL_PREFIX=<myprefix> ../
78

  
79
########################################################################
80
# Build Instructions (windows)
81
########################################################################
82

  
83
##### Generate the project with cmake #####
84
Open the cmake gui program.
85
Set the path to the source code: <uhd-repo-path>/host
86
Set the path to the build directory: <uhd-repo-path>/host/build
87
Make sure that the paths do not contain spaces.
88
Click configure and select the MSVC compiler.
89
Set the build variables and click configure again.
90
Click generate and a project file will be created in the build directory.
91

  
92
##### Build the project in MSVC #####
93
Open the generated project file in MSVC.
94
Select the build all target, right click, and choose build.
95
Select the install target, right click, and choose build.
96
    Note: you may not have permission to build the install target.
97
    You need to be an administrator or to run MSVC as administrator.
98

  
99
##### Setup the PATH environment variable #####
100
Add the boost library path and uhd library path to your %PATH%.
101
Usually c:\program files\boost\<version>\lib and c:\program files\uhd\lib
102

  

Also available in: Unified diff