Package Details: autopanorama 1.0.2-2

Git Clone URL: https://aur.archlinux.org/autopanorama.git (read-only)
Package Base: autopanorama
Description: Make panorama from multiple pictures
Upstream URL: https://github.com/Tytan/AutoPanorama
Licenses: GPL
Provides: autopanorama
Submitter: tytan
Maintainer: tytan
Last Packager: tytan
Votes: 0
Popularity: 0.000000
First Submitted: 2016-12-26 22:37
Last Updated: 2017-03-25 13:38

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2018-07-20 07:16

Fails to build for me:

==> Starting prepare()...
[autopanorama]                    Generating desktop file... ok
Submodule 'opencv' (<https://github.com/Tytan/opencv.git>) registered for path 'opencv'
Cloning into '/var/tmp/yaourt-tmp-felics/aur-autopanorama/src/autopanorama-1.0.2/opencv'...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Counting objects: 1405, done.
remote: Compressing objects: 100% (1333/1333), done.
remote: Total 1405 (delta 919), reused 333 (delta 18), pack-reused 0
Receiving objects: 100% (1405/1405), 1.38 MiB | 378.00 KiB/s, done.
Resolving deltas: 100% (919/919), completed with 880 local objects.
From <https://github.com/Tytan/opencv>
 * branch            e274b0d02d27a49c411726b162ec370388fb69c3 -> FETCH_HEAD
Submodule path 'opencv': checked out 'e274b0d02d27a49c411726b162ec370388fb69c3'
CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
  The OLD behavior for policy CMP0020 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:76 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:81 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The CXX compiler identification is GNU 8.1.1
-- The C compiler identification is GNU 8.1.1
-- Check for working CXX compiler: /sbin/c++
-- Check for working CXX compiler: /sbin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /sbin/cc
-- Check for working C compiler: /sbin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected version of GNU GCC: 81 (801)
-- Looking for ccache - found (/sbin/ccache)
CMake Error at cmake/OpenCVCompilerOptions.cmake:21 (else):
  A duplicate ELSE command was found inside an IF block.
Call Stack (most recent call first):
  CMakeLists.txt:495 (include)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/yaourt-tmp-felics/aur-autopanorama/src/autopanorama-1.0.2/build/opencv/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
==> ERROR: A failure occurred in prepare().
    Aborting...
==> ERROR: Makepkg was unable to build autopanorama.

MaxMatti commented on 2017-06-16 22:46

tl;dr: nvcc complaining? Try "CMAKE_C_COMPILER=gcc-5 CMAKE_CXX_COMPILER=g++-5 CC=gcc-5 CXX=g++-5 yaourt -S autopanorama"

When using a newer gcc than gcc-5 the package can't compile because of nvcc complaining about the gcc version. I tried installing it by running "CMAKE_C_COMPILER=gcc-5 CMAKE_CXX_COMPILER=g++-5 CC=gcc-5 CXX=g++-5 yaourt -S autopanorama", however I don't know which prerequisites were already on my pc because I work with CUDA frequently with this arch installation. Considering that gcc 6.3 is the default version, could you add gcc-5 to the dependencies and make sure that that version is used with nvcc?

Also would it be possible to suppress the warnings about the command line options "-Wmissing-prototypes" and "-Wstrict-prototypes" being only valid for C/ObjC but not for C++ or to remove those two arguments from the makefile?