Problem when gcc version is one digit
CMake Error at src/external/exiv2/CMakeLists.txt:88 (list): list index: 1 out of range (-1, 0)
-- Compiler:c++ Major:7 Minor: -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes
Gcc version is 7.
Hi! This looks more like an EXIV2 issue... could you please try and see if the same problem also affects the current EXIV2 code when compiled independently from PhotoFlow? If yes I would propose to also report the problem in the official EXIV2 issue tracker. Meanwhile I will try to find a proper fix for my bundled version, and eventually also send the fix upstream.
Hi! I have committed a fix to this problem in the stable branch. Could you try re-building the photoflow-git package in your PPA and see if the package can be generated correctly?
Thanks!
I also had the same problem while trying to compile Photoflow for fedora 26. As the GCC_MINOR variable is never used, I just removed it.
See my pexiv2 patch here: http://git.oleastre.be/?p=fedora-packages.git;a=blob_plain;f=PhotoFlow/0001-gcc-version-detection.path