Package Details: pfstools 2.2.0-3

Git Clone URL: https://aur.archlinux.org/pfstools.git (read-only, click to copy)
Package Base: pfstools
Description: Set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images
Upstream URL: http://pfstools.sourceforge.net/
Licenses: LGPL-2.1-or-later
Conflicts: pfscalibration, pfstmo
Provides: pfscalibration, pfstmo
Submitter: None
Maintainer: spider-mario
Last Packager: spider-mario
Votes: 37
Popularity: 0.000000
First Submitted: 2006-11-15 06:01 (UTC)
Last Updated: 2024-02-13 21:35 (UTC)

Dependencies (26)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

dreieck commented on 2017-02-22 14:41 (UTC)

Fails to build: Scanning dependencies of target pfsalign [100%] Building CXX object src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o /var/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.0.4/src/camera/pfsalign.cpp:46:42: fatal error: opencv2/nonfree/features2d.hpp: No such file or directory #include <opencv2/nonfree/features2d.hpp> ^ compilation terminated. make[2]: *** [src/camera/CMakeFiles/pfsalign.dir/build.make:63: src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2064: src/camera/CMakeFiles/pfsalign.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Although /usr/include/opencv2/features2d/features2d.hpp is present!, the source code seems to specify wrong path ("nonfree").

theodore commented on 2016-02-01 16:26 (UTC)

Hi I am trying to build pfstools with Matlab support but I am getting the following error: Scanning dependencies of target pfs_transform_colorspace [ 43%] Building CXX object src/matlab/CMakeFiles/pfs_transform_colorspace.dir/pfs_transform_colorspace.cpp.o [ 44%] Generating moc_main.cxx [ 44%] Generating moc_pfsview_widget.cxx [ 45%] Building CXX object src/hdrhtml/CMakeFiles/pfsouthdrhtml.dir/hdrhtml.cpp.o Scanning dependencies of target pfsview [ 45%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/main.cpp.o Unknown MEX argument '-O3'. src/matlab/CMakeFiles/pfs_transform_colorspace.dir/build.make:62: recipe for target 'src/matlab/CMakeFiles/pfs_transform_colorspace.dir/pfs_transform_colorspace.cpp.o' failed make[2]: *** [src/matlab/CMakeFiles/pfs_transform_colorspace.dir/pfs_transform_colorspace.cpp.o] Error 255 CMakeFiles/Makefile2:1389: recipe for target 'src/matlab/CMakeFiles/pfs_transform_colorspace.dir/all' failed make[1]: *** [src/matlab/CMakeFiles/pfs_transform_colorspace.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 46%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/pfsview_widget.cpp.o /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/pfsview/pfsview_widget.cpp: In function ‘void mapFrameToImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*, QImage*, float, float, RGBClippingMethod, LumMappingMethod, InfNaNTreatment, NegativeTreatment)’: /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/pfsview/pfsview_widget.cpp:353:92: warning: iteration 256u invokes undefined behavior [-Waggressive-loop-optimizations] lutPixFloor[257+p+1] = getInverseMapping( mappingMethod, p_left, minValue, maxValue ); ^ /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/pfsview/pfsview_widget.cpp:351:23: note: containing loop for( int p = 0; p < 257; p++ ) { ^ /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/pfsview/pfsview_widget.cpp: In function ‘void mapFrameToImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*, QImage*, float, float, RGBClippingMethod, LumMappingMethod, InfNaNTreatment, NegativeTreatment)’: /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/pfsview/pfsview_widget.cpp:353:92: warning: iteration 256u invokes undefined behavior [-Waggressive-loop-optimizations] lutPixFloor[257+p+1] = getInverseMapping( mappingMethod, p_left, minValue, maxValue ); ^ /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/pfsview/pfsview_widget.cpp:351:23: note: containing loop for( int p = 0; p < 257; p++ ) { ^ [ 47%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/luminancerange_widget.cpp.o [ 47%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/histogram.cpp.o [ 47%] Linking CXX executable pfsouthdrhtml [ 47%] Built target pfsouthdrhtml [ 48%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/resources.cpp.o [ 49%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/moc_main.cxx.o [ 49%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/moc_pfsview_widget.cxx.o [ 50%] Building CXX object src/pfsview/CMakeFiles/pfsview.dir/moc_luminancerange_widget.cxx.o [ 51%] Linking CXX executable pfsview [ 51%] Built target pfsview Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... I have set correctly the path to Matlab root by -DMATLAB_ROOT=/home/theodore/matlab/r2015b/ Also another issue is that if I try to build it without Matlab, support I get the following error: Scanning dependencies of target pfsalign [ 90%] Building CXX object src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o /home/theodore/package_builds/pfstools/src/pfstools-2.0.4/src/camera/pfsalign.cpp:46:42: fatal error: opencv2/nonfree/features2d.hpp: No such file or directory compilation terminated. src/camera/CMakeFiles/pfsalign.dir/build.make:62: recipe for target 'src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o' failed make[2]: *** [src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o] Error 1 CMakeFiles/Makefile2:2026: recipe for target 'src/camera/CMakeFiles/pfsalign.dir/all' failed make[1]: *** [src/camera/CMakeFiles/pfsalign.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 91%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/display_function.cpp.o [ 92%] Linking CXX executable pfstmo_ferradans11 [ 92%] Built target pfstmo_ferradans11 [ 93%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/display_size.cpp.o [ 93%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/cqp/cqpminimizer.cpp.o [ 94%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/cqp/initial_point.cpp.o [ 95%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/cqp/mg_pdip.cpp.o [ 95%] Linking CXX executable pfstmo_mantiuk08 [ 95%] Built target pfstmo_mantiuk08 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... which I guess it means that it is not compatible with Opencv 3.1 that I have installed. Any ideas how I can bypass these errors? Thanks.

stativ commented on 2015-12-08 20:48 (UTC) (edited on 2015-12-08 20:48 (UTC) by stativ)

@Morn: that would help if I run git add at all. To explain – I use a bunch of oneliners (https://bitbucket.org/stativ/scripts/src/tip/shell/?at=default) one of which generates .SRCINFO, adds it, does commit and pushes the changes all at once. One just must not forget to add other changes. Well, time to change "git commit" to "git commit -a" ;-)

Morn commented on 2015-12-08 15:01 (UTC)

@stativ: Just use "git add -u" next time, then you cannot forget to add the PKGBUILD. :-)

stativ commented on 2015-12-07 21:30 (UTC)

Morn: thanks, fixed now. Somehow I forgot to add the updated PKGBUILD to commit.

Morn commented on 2015-12-06 12:16 (UTC)

Does not work because the PKGBUILD still says 2.0.3, not 2.0.4.

stativ commented on 2015-09-14 20:20 (UTC)

It should build fine now. There was a problem building octave support that was automatically enabled if the octave was found. Now it is explicitly disabled to avoid any issues.

sebafroh commented on 2015-09-02 13:53 (UTC)

Version 2.0.3 does break compilation with Errors. Trying to update PKGBUILD to actual version 2.0.4, but with same result (but another reason): /tmp/yaourt-tmp-sebastian/aur-pfstools/src/pfstools-2.0.4/src/octave/pfsput.cpp:181:60: error: no match for call to '(octave_value) (int)' std::string tagValue = tags.contents( itTag )(0).string_value(); ^ src/octave/CMakeFiles/pfsput.mkoct.dir/build.make:60: recipe for target 'src/octave/pfsput.oct' failed make[2]: *** [src/octave/pfsput.oct] Error 1 CMakeFiles/Makefile2:1555: recipe for target 'src/octave/CMakeFiles/pfsput.mkoct.dir/all' failed make[1]: *** [src/octave/CMakeFiles/pfsput.mkoct.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2

stativ commented on 2015-04-11 14:41 (UTC)

It seems the new version (2.0.2) builds fine without any workaround.

yousry commented on 2015-04-08 06:07 (UTC)

Adding the lib path LD_LIBRARY_PATH=./src/pfs/libpfs.a to the cmake build script should fix the problem.