source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/doc/installationLib3DV.dox@ 137

Last change on this file since 137 was 136, checked in by ldecherf, 8 years ago

Doc

File size: 2.5 KB
Line 
1/*!
2\page Installation Building instruction
3
4\section Windows Windows
5
6\b Requirments:
7
8\li Windows 7 or later
9\li CMake 2.8 or later http://www.cmake.org/download
10\li Visual Studio 2010 or later \n https://www.visualstudio.com/it-it/downloads/download-visual-studio-vs.aspx
11\li Boost library v1.54 or later \n http://sourceforge.net/projects/boost/files/boost-binaries/1.54.0
12\li lib3dv http://vislab.it/products/3dv-stereo-system/download
13
14\subsection Step1 Project setup
15
16Execute \bCMake \bGUI, enter the path to the lib3dv sources and define a folder for building, then press the \bconfigure button
17
18\image html lib3dv_configure.png
19\image latex lib3dv_configure.eps "CMake GUI configuration" width=10cm
20
21
22\subsection Step2 Dependencies detector
23
24Having installed the boost library in "C:\Program files\boost_1_54_0", add the following variable to CMake GUI:
25
26\li Boost_INCLUDEDIR C:/Program Files/boost_1_54_0
27
28for 64 bit
29
30\li \cBoost_LIBRARYDIR C:/Program Files/boost_1_54_0/lib64-msvc-11.0
31
32for 32bit
33
34\li \cBoost_LIBRARYDIR C:/Program Files/boost_1_54_0/lib32-msvc-11.0
35
36
37Then set the \cBoost_USE_STATIC_LIBS variable to true and press \bGenerate button
38
39\image html lib3dv_staticboost.png
40\image latex lib3dv_staticboost.eps "Dependencies detector" width=10cm
41
42\subsection Step3 Building
43
44Uppon success a Visual Studio project as generated in the selected output path directory. Open and compile it in Release mode. The resulting .lib and .dll files will be strored in the build directory\lib3dv\Release
45
46\image html lib3dv_building_solution.png
47\image latex lib3dv_building_solution.eps "Build the Visual Studio 2012 solution" width=10cm
48
49\section Linux Linux
50
51
52\b Requirments:
53
54\li Linux distribution Ubuntu 12.04 or later, Fedora or later, Debian or later
55\li CMake 2.8 or later http://www.cmake.org/download
56\li gcc 4.7 or later
57\li Boost library v1.54 or later \n http://sourceforge.net/projects/boost/files/boost-binaries/1.54.0/
58\li lib3dv http://vislab.it/products/3dv-stereo-system/download
59
60\subsection Step1 Project setup
61
62Extract the sources and create a build directory. \b cd build directory and launch the command \b ccmake \b.\b.
63
64\image html tree_lib3dv.png
65\image latex tree_lib3dv.eps "Directory tree" width=5cm
66
67
68\subsection Step2 Dependencies detector
69
70Press \b c to configure then press \b g to generate.
71
72\image html ccmake_lib3dv.png
73\image latex ccmake_lib3dv.eps "CMake menu with default values" width=10cm
74
75
76\subsection Step3 Building
77
78
79Launch \b make to compile the library. The resulting library file will be stored in the build directory/lib3dve
80
81
82
83
84
85*/
Note: See TracBrowser for help on using the repository browser.