forked from pmoulon/CMVS-PMVS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
53 lines (37 loc) · 1.81 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Authors :
[main author] Yasutaka Furukawa furukawa[AT]cs.washington.edu
[main author] Jean Ponce Jean.Ponce[AT]ens.fr
[Windows Porting] Pierre moulon pmoulon[AT]gmail.com
Special thanks to ASTRE Henri for the PTHREAD 64 bits lib and dll : http://www.visual-experiments.com/
Date : 13 July 2011
--------------------
- Web ressources : -
--------------------
[CMVS] http://grail.cs.washington.edu/software/cmvs/
[windows porting] http://francemapping.free.fr/Portfolio/Prog3D/CMVS.html
--------------------
-- Compilation --
--------------------
Windows => Use precompiled binary, or compile it with VS2008/2010 (Express or pro, Pro will allow you to enable Opemp in CMVS)
=> Use CMake GUI in order to generate the Visual Studio project file (in ./program you will find the main CMakeLists.txt).
=> To compile windows 64 binary => edit the ./program/CMakeLists.txt and set WIN64_PTHREAD to true
Linux => use makefile in program/main.
Setup in makefile the library path to clapack directory if necessary (in order find clapack/clapack.h, clapack/f2c.h, and graclus at compile time)
Or use CMake build system :
=> Install the following libraries : jpeg gsl lapack boost boost-graph pthread
$ mkdir OutputLinux
$ cd OutputLinux
$ cmake . ..
$ make
=> That's all. Openmp is not activated yet. Add openmp in the cmvs link option and define the _OPENMP cxx flags
--------------------
---- Notes : ----
--------------------
To test it : ./WinX-VS2010/Readme.txt "Usage of the binaries"
What have been done on native Yasutaka Furukawa source code :
- Create the CMake build system for CMVS/PMVS2 and required library.
- Optimize a little bit JPEG image loading.
- Update CMVS source code in order to compile.
- Add changes from Nghia Ho http://nghiaho.com/
- memoize pow(2,X)
- Change GSL simplex to lmfit.