|
|
@ -5,8 +5,9 @@ Structure of the bundle:
|
|
|
|
------------------------
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
|
|
|
|
bin/exiv2 exiv2 and sample applications
|
|
|
|
bin/exiv2 exiv2 and sample applications
|
|
|
|
bin/cygexiv2lib-0.dll DLL
|
|
|
|
bin/cygexiv2-0.dll DLL
|
|
|
|
lib/libexiv2lib.dll.a & libxmp.a link libraries
|
|
|
|
lib/libexiv2.dll.a & libxmp.a link libraries
|
|
|
|
|
|
|
|
lib/pkgconfig/exiv2.pc pkg-config file
|
|
|
|
include/exiv2/ include files
|
|
|
|
include/exiv2/ include files
|
|
|
|
share/ man pages
|
|
|
|
share/ man pages
|
|
|
|
samples/exifprint.cpp sample code
|
|
|
|
samples/exifprint.cpp sample code
|
|
|
@ -24,7 +25,7 @@ $ bin/exiv2
|
|
|
|
|
|
|
|
|
|
|
|
To build samples/exiftool.cpp from the bundle
|
|
|
|
To build samples/exiftool.cpp from the bundle
|
|
|
|
---------------------------------------------
|
|
|
|
---------------------------------------------
|
|
|
|
$ g++ -std=gnu++98 samples/exifprint.cpp -L$PWD/lib -I$PWD/include -lexiv2lib -o exifprint
|
|
|
|
$ g++ -std=gnu++98 samples/exifprint.cpp -L$PWD/lib -I$PWD/include -lexiv2 -o exifprint
|
|
|
|
$ env PATH="$PWD/bin:$PATH" ./exifprint
|
|
|
|
$ env PATH="$PWD/bin:$PATH" ./exifprint
|
|
|
|
|
|
|
|
|
|
|
|
To install for use by all users
|
|
|
|
To install for use by all users
|
|
|
@ -33,7 +34,7 @@ $ for i in bin include lib ; do cp -R $i/* /usr/local/$i ; done
|
|
|
|
|
|
|
|
|
|
|
|
To compile and link your own code using installed library and include files
|
|
|
|
To compile and link your own code using installed library and include files
|
|
|
|
---------------------------------------------------------------------------
|
|
|
|
---------------------------------------------------------------------------
|
|
|
|
$ g++ -std=gnu++98 samples/exifprint.cpp -I/usr/include -I/usr/local/include -L/usr/local/lib -lexiv2lib -o exifprint
|
|
|
|
$ g++ -std=gnu++98 samples/exifprint.cpp -I/usr/include -I/usr/local/include -L/usr/local/lib -lexiv2 -o exifprint
|
|
|
|
$ export PATH="/usr/local/bin:$PATH"
|
|
|
|
$ export PATH="/usr/local/bin:$PATH"
|
|
|
|
$ ./exifprint --version
|
|
|
|
$ ./exifprint --version
|
|
|
|
exiv2=0.27.0
|
|
|
|
exiv2=0.27.0
|
|
|
|