Bundler is a structure-from-motion system for unordered image collections (for instance, images from the Internet) written in C and C++. An earlier version of this system was used in the Photo Tourism project.
You could find :
Sources (compatible for Windows/Linux/Mac)
The build system used is CMake to make easy project maintenance and portability.