Package Details: colmap-git 3.8.r219.g6eb27c01-1

Git Clone URL: https://aur.archlinux.org/colmap-git.git (read-only, click to copy)
Package Base: colmap-git
Description: General-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface.
Upstream URL: https://colmap.github.io/
Keywords: 3d multi-view-stereo reconstruction structure-from-motion
Licenses: GPL
Conflicts: colmap
Provides: colmap
Submitter: bartus
Maintainer: bartus (mgrewe)
Last Packager: bartus
Votes: 5
Popularity: 0.000000
First Submitted: 2017-03-21 10:48 (UTC)
Last Updated: 2024-02-20 14:08 (UTC)

Pinned Comments

bartus commented on 2019-04-10 11:42 (UTC) (edited on 2024-02-12 15:16 (UTC) by bartus)

This package is also hosted on GitHub.
Use env vars to control build process:
  • BUILD_CUDA=ON|OFF to skip cuda kernel build (default 'ON')
  • CUDA_ARCH="5.2,7.2" to build for a specific Cuda arch, supports multiple values.
  • MAKEFLAGS="xxx:yyy" to override default make flags (colon-separated list)
Usage cases:
  • export BUILD_CUDA=OFF before build
  • BUILD_CUDA=OFF ~your-aur-helper~
  • makepkg BUILD_CUDA=OFF
  • yay -S colmap-git --mflags "BUILD_CUDA=OFF"

bartus commented on 2017-03-21 11:02 (UTC) (edited on 2017-04-25 08:04 (UTC) by bartus)

If you like `visualsfm` you will love this ! Single click "automatic reconstruction" fully CUDA accelerated, producing coloured,trimmed mesh.

Latest Comments

« First ‹ Previous 1 2 3

bartus commented on 2018-03-30 04:08 (UTC)

@Harvie PKGBUILD is cuda aware - if you build on system without cuda it won't be turned on:

 52   # determine whether we can precompile CUDA kernels
 53     _CUDA_PKG=`pacman -Qq cuda 2>/dev/null` || true
 54     if [ "$_CUDA_PKG" != "" ]; then
 55       _EXTRAOPTS="-DCUDA_ENABLED=ON -DCUDA_HOST_COMPILER=/opt/cuda/bin/gcc -DCUDA_TOOLKIT_ROOT_DIR=/opt/cuda"
 56     fi

If you want to disble cuda kernel you can always comment out _EXTRAOPTS. If you have any better ide, I'm open for patching ;)

Harvie commented on 2018-03-30 01:22 (UTC)

Please make non-CUDA version of the package. or at least simple option to disable CUDA that can be uncommented on top of the PKGBUILD.

bartus commented on 2018-01-13 22:58 (UTC) (edited on 2018-01-15 07:38 (UTC) by bartus)

@sliedes problem lays in the new directory organization, switch to master until the issue gets resolved upstream.

sliedes commented on 2018-01-13 13:13 (UTC) (edited on 2018-01-13 13:13 (UTC) by sliedes)

Currently fails the package() step:

<hr>

==> Entering fakeroot environment... ==> Starting package()... [...] Install the project... -- Install configuration: "Release" CMake Error at cmake_install.cmake:41 (FILE): FILE problem creating directory: /usr/lib/colmap

make: *** [Makefile:118: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...

<hr>

The offending code in src/build/cmake_install.cmake is

<hr>

if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/lib/colmap) endif()

<hr>

My cmake-fu is not sufficient to understand how and when it takes DESTDIR into account, but here it seems to fail...

bartus commented on 2017-04-24 10:15 (UTC) (edited on 2017-04-24 10:23 (UTC) by bartus)

@nicolasvila There could be a dosen of possible causes. You should build debug package https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces Collect backtrace and report the issue upstream on github https://github.com/colmap/colmap

NicolasV commented on 2017-04-22 00:01 (UTC)

Compilation succeeded with the updated dependencies but the application crash at launch with a "illegal instruction (core dumped)" Don't know what's wrong...

NicolasV commented on 2017-04-15 11:46 (UTC)

Please update the dependencies with these URLs in the PKGBUILD: http://cvg.ethz.ch/research/jschoenb/colmap/vocab_tree-1048576.bin http://cvg.ethz.ch/research/jschoenb/colmap/vocab_tree-262144.bin http://cvg.ethz.ch/research/jschoenb/colmap/vocab_tree-65536.bin

bartus commented on 2017-03-21 11:02 (UTC) (edited on 2017-04-25 08:04 (UTC) by bartus)

If you like `visualsfm` you will love this ! Single click "automatic reconstruction" fully CUDA accelerated, producing coloured,trimmed mesh.