<![CDATA[Forum Ubuntu-fr.org / pfstools commandes jpeg2hdrgen, pfsinhdrgen, pfshdrcalibrate [resolu]]]> http://forum.ubuntu-fr.org/viewtopic.php?id=1376471 Thu, 14 Nov 2013 10:42:50 +0000 FluxBB <![CDATA[Réponse à : pfstools commandes jpeg2hdrgen, pfsinhdrgen, pfshdrcalibrate [resolu]]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=15201581#p15201581 bonjour

j'ai solutionné le probleme en installation la version précédente des pfstools 1.4 et là elle se compile sans difficulté.

]]>
Thu, 14 Nov 2013 10:42:50 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=15201581#p15201581
<![CDATA[pfstools commandes jpeg2hdrgen, pfsinhdrgen, pfshdrcalibrate [resolu]]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=14700811#p14700811 bonsoir et bon week end.

Suite à la lecture de certains sites  je me suis mis à faire des photos hdr.

et sur la page suivante :

http://photoblog.edu-perez.com/2009/02/ … linux.html

j'ai donc fait l'installation des pfstools mais certaines commandes ne sont alors pas installées..  et précisément celles qui génèrent la fusion des expositions en hdr avant de faire le tonnemapping.  En cherchant sur le site des pfstools j'ai vu que les fonctions manquantes sont dans le paquet pfscalibrate.  et j'ai donc pu uniquement  charger les sources et lancer le classique ./configure    qui me mets une série de dépendances à résoudre. 

Au final deux dependances me manquent

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed                                                                                                                           
checking dependency style of gcc... gcc3                                                                                                                                           
checking for a sed that does not truncate output... /bin/sed                                                                                                                       
checking for grep that handles long lines and -e... /bin/grep                                                                                                                       
checking for egrep... /bin/grep -E                                                                                                                                                 
checking for fgrep... /bin/grep -F                                                                                                                                                 
checking for ld used by gcc... /usr/bin/ld                                                                                                                                         
checking if the linker (/usr/bin/ld) is GNU ld... yes                                                                                                                               
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B                                                                                                               
checking the name lister (/usr/bin/nm -B) interface... BSD nm                                                                                                                       
checking whether ln -s works... yes                                                                                                                                                 
checking the maximum length of command line arguments... 1572864                                                                                                                   
checking whether the shell understands some XSI constructs... yes                                                                                                                   
checking whether the shell understands "+="... yes                                                                                                                                 
checking for /usr/bin/ld option to reload object files... -r                                                                                                                       
checking for objdump... objdump                                                                                                                                                     
checking how to recognize dependent libraries... pass_all                                                                                                                           
checking for ar... ar                                                                                                                                                               
checking for strip... strip                                                                                                                                                         
checking for ranlib... ranlib                                                                                                                                                       
checking command to parse /usr/bin/nm -B output from gcc object... ok                                                                                                               
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pm_init in -lnetpbm... yes
checking for NetPBM header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for IMAGEMAGICK... yes
checking for TIFFOpen in -ltiff... yes
checking for jpeghdr_CreateDecompress in -ljpeghdr... no
checking for OPENEXR... yes
checking for QT... yes
checking for moc-qt4... /usr/bin/moc-qt4
checking for glDisable in -lGL... yes
checking for glutInit in -lglut... yes
checking for mex... no
configure: WARNING: no matlab mex found in the path
checking for GDALAllRegister in -lgdal... no
checking for bash... /bin/bash
./configure: line 15900: octave-config: command not found
./configure: line 15902: octave-config: command not found
configure: WARNING: no path for .oct files specified
configure: WARNING: no path for .m files specified
checking for mkoctfile... no
configure: WARNING: no mkoctfile found in the path
configure: WARNING: Octave support disabled
checking for pdflatex... no
configure: WARNING: pdflatex not found in the path
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/pfs/Makefile
config.status: creating src/pfs/pfs.pc
config.status: creating src/fileformat/Makefile
config.status: creating src/filter/Makefile
config.status: creating src/octave/Makefile
config.status: creating src/pfsview/Makefile
config.status: creating src/pfsglview/Makefile
config.status: creating src/matlab/Makefile
config.status: creating doc/Makefile
config.status: creating src/fileformat/pfsin
config.status: creating src/fileformat/pfsout
config.status: creating src/fileformat/pfsindcraw
config.status: creating src/fileformat/pfsinmulti
config.status: creating src/pfsview/pfsv
config.status: creating src/hdrhtml/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

pfstools is now configured for i686-pc-linux-gnu

  Source directory:     .
  Installation prefix:  /usr/local
  C++ compiler:         g++   -O3   
  Data directory:       /usr/local/share/pfstools

  Bash shell:           /bin/bash

  Octave                no
    octave-m-dir:       
    octave-oct-dir:     
    mkoctfile:         

  Matlab                no
    matlab-dir:         /usr/local/share/pfstools/pfstools_matlab
    mex:               

  NetPBM                yes
    LIBS:               -lnetpbm
    CFLAGS:             -I /usr/include/
  TIFF                  yes
    LIBS:               -ltiff
  OpenEXR               yes
    CFLAGS:             -pthread -I/usr/include/OpenEXR 
    LIBS:               -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread 
  ImageMagick++         yes
    CFLAGS:             -fopenmp -I/usr/include/ImageMagick 
    LIBS:               -lMagick++ -lMagickCore 
JPEG-HDR              no
      The following command(s) WILL NOT be compiled: pfsinjpeghdr pfsoutjpeghdr
  GDAL                  no
      The following command(s) WILL NOT be compiled: pfsingdal

  QT                    yes
    QTDIR:             
    CFLAGS:             -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore 
    LIBS:               -lQtGui -lQtCore 
    MOC:                /usr/bin/moc-qt4

  OpenGL                yes
    CFLAGS:             
    LIBS:                -lglut -lGLU -lGL -lpthread
   
  Debug mode            no


et ce sont les deux commandes qui me servent qui sont pas compilables...  Hors je trouve pas ce jpeg hdr en dehors d'acheter un livre sur le hdr qui aurait un dvd pour l'avoir le jpeg  - hdr.  je cherche également de paquets de binaires mais j'en trouve en rpm pour fedora mais pas pour les versions de debian. 

est ce qu'il existe des paquets .deb de pfscalibrate pour les versions liées à debian de facon à avoir pfsinjpeghr qui  me manquent.  j'ai bien trouvé des paquetages rmp pour fedora  mais est ce qu'ils sont convertibles en .deb et surtout compatibles ensuite pour fonctionner sur kubuntu 13.04

]]>
Fri, 20 Sep 2013 18:24:48 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=14700811#p14700811