Skip to content
Official libmv codebase
C++ C Other
Find file
Latest commit 8040c0f Oct 9, 2014 libmv Merge pull request #13 from kwk/master
Fix for: Compilation failure due to missing OpenGL utility file includes
Failed to load latest commit information.
contrib Add OpenCV-based utility to undistort images given distortion paramet… Oct 26, 2009
doc doc: Added Doxyfile and libmv.dox (in doc/) for online documentation. Apr 30, 2011
extras/calibration
src Needed to add OpenGL utility header (GL/glu.h) to three files in tvr … Jan 18, 2012
.gitignore Add a .gitignore. May 17, 2011
AUTHORS
ChangeLog cmake: Cleaned code (Option tests) Apr 6, 2011
LICENSE Add various video reconstruction improvements. Mar 18, 2011
Makefile
README Add various video reconstruction improvements. Mar 18, 2011
codereview.settings Added file so that we can use code review tools. Jun 1, 2011

README

Libmv multiview reconstruction and tracking library
===================================================

Libmv is a simple multiview reconstruction library.

It is not ready yet. If you're interested in contributing, see:

  http://code.google.com/p/libmv

The short story:

 $ make
 $ bin-dbg/ui/tvr/tvr

Try loading two images and making a reconstruction. This UI will almost
certainly crash on you and may delete your harddrive. There's a reason we claim
libmv is not finished!

Building
--------

Before building, make sure you have the following:

* CMake 2.4 or newer.
* Qt4.

Then run 

 $ make

in the toplevel directory. This builds a debug version, and puts it in bin-dbg.
To build an optimized version, do

 $ make release

which puts optimized executables and libraries in bin-dbg/. To run the test
suite, cd in to the appriate directory and run 'make test'

 $ cd bin-dbg
 $ make test

Building uses CMake, so it is possible to build in other directories with
different CMake flags. However, building inside the toplevel directory with
CMake will fail; in other words DON'T DO THIS:

 $ ls
 AUTHORS  contrib  doc  LICENSE  Makefile  README  src
 $ cmake .
 $ make  <-- Will fail.

Instead do this:

 $ ls
 AUTHORS  contrib  doc  LICENSE  Makefile  README  src
 $ mkdir build
 $ cd build
 $ cmake ../src # Your options here
 $ make
 $ make test
 $ ...

Problems
--------

If you encounter problems running the test suite, please mail the mailing list
or file a ticket on our Google code project page

  http://code.google.com/p/libmv/issues
Something went wrong with that request. Please try again.