Project

General

Profile

Statistics
| Branch: | Revision:

root / rgbdslam / external / siftgpu / linux / Instruction.txt @ 9240aaa3

History | View | Annotate | Download (2.38 KB)

1
*********************************************************************************************************
2
NEW: Parameters for making siftgpu library can be changed in makefile. 
3
	Look at the top part of makefile for details. 
4
*********************************************************************************************************
5

    
6

    
7

    
8
1. DEPENDING LIBRARIES
9
*********************************************************************************************************
10
The list of required libraries for Linux is 
11
libGLEW.a	libglut.so 	libIL.so -> libIL.so.1 		libIL.so.1	
12

    
13
optional libaries: 
14
	libCudart.so 
15

    
16
Those libraris may also be dependent on other libraries, and you may need to download them yourself. 
17
You also need to handle the compatibility of those libraies yourself. 
18

    
19
Get those libraries either in the system default path or ./bin here before compiling. 
20
********************************************************************************************************
21

    
22

    
23
2. MAC OS
24
*********************************************************************************************************
25
For Mac User, the libraries are 
26
GLUT.framework		OpenGL.framework	
27

    
28
libGLEW		libIL 	libCudart (optional)
29
*********************************************************************************************************
30

    
31

    
32

    
33
3. SSE SETTING
34
***************************************************************************************************
35
Please change the compiler options according to your CPU to enable SSE if the default setting doesn't work.
36

    
37
siftgpu_sse_options = -march=(cpu_type) -mfpmath=sse
38

    
39
SSE is only used in OpenGL-based imiplementations to speed up the descriptor normalization,
40
you can delete them from CFLAGS if you are using only CUDA.
41
****************************************************************************************************
42

    
43

    
44

    
45
4. OUTPUT
46
*******************************************************************************************************
47
The list of output binaries is
48
./bin/libsiftgpu.a	./bin/libsiftgpu.so
49
./bin/TestWinGlut	./bin/SimpleSIFT 	./bin/speed 	./bin/server_siftgpu
50

    
51

    
52
If you want to run the stuff with any .so files in ./bin, don't forget to add . to LD_LIBRARY_PATH/
53
DYDL_LIBRARY_PATH. For example:  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
54

    
55
*********************************************************************************************************
56

    
57

    
58

    
59