
Reveal
Source (link to git-repo or to original if based on someone elses unmodified work):
Read support has been added for 10 file formats (PNG, TIFF, in addition to several RAW file formats). Embedded thumbnail images are now visible in the Details pane. Photo descriptions can be viewed/edited in the Summary pane. Zooming the image thumbnail in the summary pane is now much smoother on all platforms. Reveal has a new application icon and a new about window. Qt and exiv2 have been bumped to 4.2 and 0.11 respectively.
Ratings & Comments
8 Comments
Right. That solved the problem.
Great, modification now in SVN.
I'm using svn exiv2. g++ -o Reveal tmp/config.o tmp/reveal.o tmp/reveal_detailsInfo.o tmp/reveal_exposureInfo.o tmp/reveal_geometricInfo.o tmp/reveal_processingInfo.o tmp/reveal_sensoryInfo.o tmp/reveal_summaryInfo.o tmp/reveal_export.o tmp/summaryPane.o tmp/exposurePane.o tmp/detailsPane.o tmp/zoomableLabel.o tmp/revealMain.o tmp/revealApplication.o tmp/exifTools.o tmp/metadataInterface.o tmp/metadataInterface_exposureInfo.o tmp/metadataInterface_geometricInfo.o tmp/metadataInterface_processingInfo.o tmp/metadataInterface_sensoryInfo.o tmp/metadataInterface_summaryInfo.o tmp/aboutDialog.o tmp/scrollingFadingTextEdit.o tmp/animatedLabel.o tmp/clickableLabel.o tmp/dynamicSlider.o tmp/rigidLineEdit.o tmp/clickableURL.o tmp/expandingTextLabel.o tmp/imageTools.o tmp/jpegInternal.o tmp/jpegTools.o tmp/jpegTools_size.o tmp/tiffTools.o tmp/rawTools.o tmp/dcraw_parse.o tmp/commonStrings.o tmp/fileDirCompressor.o tmp/fileDirTools.o tmp/fileFetcher.o tmp/fileHasher.o tmp/guiTools.o tmp/mathTools.o tmp/preferenceManager.o tmp/tempFile.o tmp/textProcessor.o tmp/timingTools.o tmp/translationManager.o tmp/ioapi.o tmp/unzip.o tmp/moc_reveal.o tmp/moc_summaryPane.o tmp/moc_exposurePane.o tmp/moc_detailsPane.o tmp/moc_zoomableLabel.o tmp/moc_aboutDialog.o tmp/moc_scrollingFadingTextEdit.o tmp/moc_animatedLabel.o tmp/moc_clickableLabel.o tmp/moc_dynamicSlider.o tmp/moc_clickableURL.o tmp/moc_commonStrings.o tmp/moc_fileFetcher.o tmp/moc_textProcessor.o tmp/moc_translationManager.o tmp/moc_translationManager_p.o -L/usr/lib -dead_strip -ljpeg -L/usr/lib -lexiv2 -lQtXml_debug -L/build/buildd/qt4-x11-kdecopy-4.2.0~svn20060818/lib -lQtGui_debug -L/usr/X11R6/lib -laudio -lXt -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lXext -lX11 -lQtNetwork_debug -lQtCore_debug -lfontconfig -lz -lm -ldl -lpthread tmp/tiffTools.o: In function `initCIELabConversion(tiff*)': ../src/_imageTools/tiff/tiffTools.cpp:195: referencia a `TIFFGetFieldDefaulted' sin definir ../src/_imageTools/tiff/tiffTools.cpp:200: referencia a `TIFFCIELabToRGBInit' sin definir ../src/_imageTools/tiff/tiffTools.cpp:191: referencia a `_TIFFmalloc' sin definir tmp/tiffTools.o: In function `TiffTools::loadImage(QString, QImage&)': ../src/_imageTools/tiff/tiffTools.cpp:215: referencia a `TIFFSetWarningHandler' sin definir ../src/_imageTools/tiff/tiffTools.cpp:216: referencia a `TIFFOpen' sin definir ../src/_imageTools/tiff/tiffTools.cpp:227: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:248: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:267: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:268: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:269: referencia a `TIFFGetField' sin definir tmp/tiffTools.o:../src/_imageTools/tiff/tiffTools.cpp:270: más referencias a `TIFFGetField' sin definir a continuación tmp/tiffTools.o: In function `TiffTools::loadImage(QString, QImage&)': ../src/_imageTools/tiff/tiffTools.cpp:286: referencia a `TIFFIsBigEndian' sin definir ../src/_imageTools/tiff/tiffTools.cpp:541: referencia a `TIFFClose' sin definir ../src/_imageTools/tiff/tiffTools.cpp:248: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:386: referencia a `TIFFScanlineSize' sin definir ../src/_imageTools/tiff/tiffTools.cpp:394: referencia a `TIFFReadScanline' sin definir ../src/_imageTools/tiff/tiffTools.cpp:425: referencia a `TIFFCIELabToXYZ' sin definir ../src/_imageTools/tiff/tiffTools.cpp:426: referencia a `TIFFXYZToRGB' sin definir ../src/_imageTools/tiff/tiffTools.cpp:439: referencia a `_TIFFfree' sin definir ../src/_imageTools/tiff/tiffTools.cpp:506: referencia a `TIFFScanlineSize' sin definir ../src/_imageTools/tiff/tiffTools.cpp:512: referencia a `TIFFReadScanline' sin definir ../src/_imageTools/tiff/tiffTools.cpp:235: referencia a `TIFFSetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:231: referencia a `TIFFSetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:502: referencia a `TIFFReadScanline' sin definir ../src/_imageTools/tiff/tiffTools.cpp:351: referencia a `TIFFReadRGBAImageOriented' sin definir ../src/_imageTools/tiff/tiffTools.cpp:469: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:476: referencia a `TIFFSwabArrayOfShort' sin definir ../src/_imageTools/tiff/tiffTools.cpp:477: referencia a `TIFFSwabArrayOfShort' sin definir ../src/_imageTools/tiff/tiffTools.cpp:478: referencia a `TIFFSwabArrayOfShort' sin definir tmp/tiffTools.o: In function `TiffTools::getSize(QString, QSize&)': ../src/_imageTools/tiff/tiffTools.cpp:47: referencia a `TIFFSetWarningHandler' sin definir ../src/_imageTools/tiff/tiffTools.cpp:50: referencia a `TIFFOpen' sin definir ../src/_imageTools/tiff/tiffTools.cpp:59: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:60: referencia a `TIFFGetField' sin definir ../src/_imageTools/tiff/tiffTools.cpp:64: referencia a `TIFFClose' sin definir collect2: ld returned 1 exit status make: *** [Reveal] Error 1
Hrmm, apparently you've gotten almost all the way to getting Reavel compiled but are failing during linking because it cannot find various libtiff symbols. You must have the libtiff includes installed to have gotten this far. Oh jeesh. I bet I know the problem, I hadn't tested compiling Reveal dynamically under Linux. If you look under projects/libraries.pri under the linux section you'llnotice I didn't add a rule for linking with libtiff . try adding the following to the top of the libraries.pri file: contains(CONFIG, libtiff) LIBS += -ltiff Please let me know if that fixes the problem so I can patch the code in SVN
When I start make it gives me this: g++ -c -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -Os -D_REENTRANT -DBIN_DIR=\"/usr/bin\" -DDATA_DIR=\"/usr/share/reveal\" -DSTANDALONE_APP -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -IReveal.tmp/ -o Reveal.tmp/RevealMain.o src/RevealMain.cpp src/RevealMain.cpp:18:20: error: exif.hpp: No such file or directory make: *** [Reveal.tmp/RevealMain.o] Error 1
You need to download the latest exiv2 sources from Andreas's svn respository, then edit Reveal.pro to point to the correct location to find the includes libraries when linking. In the future building Reveal will bemuch easier when exiv2 includes a tool for determing this information automatically much like the xml2 and xslt libraries do today. Sorry about this. exiv2 web site: http://home.arcor.de/ahuggel/exiv2/ svn command to get latest code (0.7 will NOT work) svn checkout svn://dev.robotbattle.com/exiv2/trunk . -will
Hello, Since I am not a programmer, could you give an example of the modification to be made on the Reveal.pro file? Here is the message after trying to compile: /usr/lib/qt3/bin/qmake Reveal.pro Project MESSAGE: Configuring library dependencies for Reveal: Project MESSAGE: ->Automatically configuring Project MESSAGE: ->Build will require libjpeg Project MESSAGE: ->Build will require libexiv2 Here is the libexiv2 stuff: locate libexiv2 /usr/local/lib/libexiv2-0.9.1.so /usr/local/lib/libexiv2.a /usr/local/lib/libexiv2.la /usr/local/lib/libexiv2.so Thank you for your help Regards,
Instead of say "Build will require XXX" I really should print out "Build will USE XXXX". Those are not error messages, they're just announcements, letting you know we'll be linking against those libraries. Try running make and make install. Building will probably work just fine. Another user made the same comment. He was sure somethign was not working properly when everything was fine. I've changed the code in SVN such that future releases will be less confusing.