colmap

COLMAP - Structure-from-Motion and Multi-View Stereo.

Latest version: 3.13.0

Add to xmake.lua

add_requires("colmap 3.13.0")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2025-12-03T14:10:49.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x64

Options

asan
Enable AddressSanitizer flags. · Type: boolean · Default: false
cgal
Enable the CGAL library. · Type: boolean · Default: true
cuda
Enable CUDA, if available. · Type: boolean · Default: true
gui
Enable the graphical UI. · Type: boolean · Default: false
ipo
Enable interprocedural optimization. · Type: boolean · Default: true
lsd
Enable the LSD library. · Type: boolean · Default: true
opengl
Enable OpenGL, if available. · Type: boolean · Default: true
openmp
Enable OpenMP parallelization. · Type: boolean · Default: true
profiling
Enable google-perftools linker flags. · Type: boolean · Default: false
simd
Enable SIMD optimizations. · Type: boolean · Default: true
tsan
Enable ThreadSanitizer flags. · Type: boolean · Default: false
ubsan
Enable UndefinedBehaviorSanitizer flags. · Type: boolean · Default: false

Versions

  • 3.13.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "colmap 3.13.0"

show info

xrepo info "colmap"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("colmap 3.13.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("colmap")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "colmap 3.13.0" shell