Package Details: alice-vision 2.2.0-3

Git Clone URL: https://aur.archlinux.org/alice-vision.git (read-only, click to copy)
Package Base: alice-vision
Description: Photogrammetric Computer Vision Framework which provides a 3D Reconstruction and Camera Tracking algorithms
Upstream URL: https://alicevision.github.io/
Licenses: MIT, MPL2
Conflicts: alice-vision-git
Provides: alice-vision
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 4
Popularity: 0.154102
First Submitted: 2018-08-02 16:50
Last Updated: 2019-10-22 22:09

Pinned Comments

bartus commented on 2019-04-10 11:40

This is a package is also hosted on GitHub.
Use env vars to control build process:
  • DISABLE_CUDA=1 disable cuda depth map module. (also disables popsift and ute)
  • DISABLE_POPSIFT=1 disable gpu accelerated feature matching.
  • DISABLE_UTE=1 disable gpu accelerated SFM uncertainty calculation.
Usage cases:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S alice-vision --mflags "DISABLE_CUDA=1"
Notice for Yay users:

Since yay relies solely on aur-rpc to solve dependencies instead of calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. That's why it's up to the user to provide dependencies to enable optional features, otherwise PKGBUILD will silently skip those features.

Optional features:
  • popsift: GPU accelerated feature matching.
  • uncertainty-framework: GPU accelerated SFM uncertainty calculation.
  • cuda: GPU accelerated depth map calculation.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

kureta commented on 2019-08-24 23:03

@bartus the "/opt/magma" problem is solved but as I mentioned before, now there is another problem regarding missing doc files or something.

CMake Error at src/cmake_install.cmake:45 (file):
file INSTALL cannot find "/tmp/makepkg/alice-vision/src/build/src/doc".

bartus commented on 2019-08-23 06:01

@kureta: I've got through magma CMakeLists.txt and found this one:

build-shared/cmake_install.cmake:if(NOT DEFINED CMAKE_INSTALL_PREFIX)
build-shared/cmake_install.cmake:  set(CMAKE_INSTALL_PREFIX "/opt/magma")

Looks like you could have CMAKE_INSTALL_PREFIX set in your build env to /usr/local which messes up magma build configuration (in clean chroot this var is empty). I've added this as exception to magma PKGBUILD. Now it should build fine for you also ;)

kureta commented on 2019-08-22 22:04

@bartus I don't have an alice-vision package because compilation fails.

bartus commented on 2019-08-22 06:37

@kureta: show me what you've got in .BUILDINFO for alice-vision

tar xf alice-vision-2.2.0-1-x86_64.pkg.tar.zst .BUILDINFO -O|vim -

You should find installed = magma-2.5.0-2-x86_64 there.

And .MTREE for magma

tar xf magma-2.5.0-2-x86_64.pkg.tar.zst .MTREE -O|gunzip |vim -

It should look like this:

1    #mtree
   1 /set type=file uid=0 gid=0 mode=644
   2 ./.BUILDINFO time=1566455115.0 size=7065 md5digest=da064aa4a009f8186ff3ef1c9e6c6693 sha256digest=f1fc1c110a04ede3134283df20011fd70a17a2739601b94985a040f6a6f5abb9
   3 ./.PKGINFO time=1566455115.0 size=550 md5digest=0a94f033a40a26f100dc189d4f1f9df7 sha256digest=baa22392bbba670ecb6a439cd6cfa2f21ac0780cd72323aace9882e9239bcaf9
   4 ./opt time=1566455115.0 mode=755 type=dir
   5 /set mode=755
   6 ./opt/magma time=1566455115.0 type=dir
   7 /set mode=644

kureta commented on 2019-08-21 23:31

@bartus I am having the same problem as @Miegl. Maybe your build environment is not clean and you have a copy of magma in /opt/magma

Edit: I have changed /opt/magma in PKGBUILD to /usr/local and it started compiling, but gave this error at the end

CMake Error at src/cmake_install.cmake:45 (file):
  file INSTALL cannot find "/tmp/makepkg/alice-vision/src/build/src/doc".
Call Stack (most recent call first):
  cmake_install.cmake:51 (include)


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

bartus commented on 2019-08-21 20:48

@Miegl: Where's the problem with magma I'm maintaining both and can't see the issue.

Miegl commented on 2019-08-20 18:51

Please could you redo the entire package and test it afterwards? For example -DMAGMA_ROOT isn't /opt/magma but it's /usr/local Thank you!

bartus commented on 2019-04-26 20:27

@qs9rx: there's a alice-vision-git package that builds fine against ceres-solver-git.

qs9rx commented on 2019-04-19 09:26

This will NOT build with ceres-solver-git due to https://github.com/alicevision/AliceVision/pull/403 I guess. Solver::Options::num_linear_solver_threads is not available anymore but this packages try to use it.

bartus commented on 2019-04-10 11:40

This is a package is also hosted on GitHub.
Use env vars to control build process:
  • DISABLE_CUDA=1 disable cuda depth map module. (also disables popsift and ute)
  • DISABLE_POPSIFT=1 disable gpu accelerated feature matching.
  • DISABLE_UTE=1 disable gpu accelerated SFM uncertainty calculation.
Usage cases:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S alice-vision --mflags "DISABLE_CUDA=1"
Notice for Yay users:

Since yay relies solely on aur-rpc to solve dependencies instead of calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. That's why it's up to the user to provide dependencies to enable optional features, otherwise PKGBUILD will silently skip those features.

Optional features:
  • popsift: GPU accelerated feature matching.
  • uncertainty-framework: GPU accelerated SFM uncertainty calculation.
  • cuda: GPU accelerated depth map calculation.