You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.7 KiB
Plaintext
70 lines
2.7 KiB
Plaintext
@RV@ MinGW/Windows Bundle @RC@
|
|
|
|
Document Purpose
|
|
-------- -------
|
|
ReadMe.txt This file
|
|
README.md Developer Manual
|
|
README-CONAN.md Developer Manual Appendix
|
|
README-SAMPLES.md Developer Sample Code Manual
|
|
releasenotes.txt Late breaking news
|
|
exiv2.png Exiv2 Logo
|
|
COPYING GPLv2.0 Software License
|
|
|
|
Deliverable Location
|
|
----------- --------
|
|
exiv2 and sample applications bin/exiv2.exe
|
|
shared library bin/libexiv2.dll
|
|
import library lib/libexiv2.dll.a
|
|
CMake support/consume files lib/cmake/exiv2
|
|
pkg-config file lib/pkgconfig/exiv2.pc
|
|
man pages share/man/
|
|
localisation files share/locale/
|
|
sample code samples/exifprint.cpp
|
|
build and test log logs/build.txt
|
|
|
|
To run exiv2 from the bundle
|
|
----------------------------
|
|
$ cd <bundle>
|
|
$ env PATH="$PWD/bin:$PATH" bin/exiv2
|
|
|
|
To build samples/exiftool.cpp from the bundle
|
|
---------------------------------------------
|
|
$ cd <bundle>
|
|
$ g++ -std=c++98 samples/exifprint.cpp -Llib -Iinclude -lexiv2 -o exifprint
|
|
$ env PATH="$PWD/bin:$PATH" ./exifprint
|
|
|
|
To install for use by all users
|
|
-------------------------------
|
|
$ cd <bundle>
|
|
$ for i in bin include lib share ; do mkdir -p /usr/local/$i ; cp -R $i/* /usr/local/$i ; done
|
|
|
|
To compile and link your own code using installed library and include files
|
|
---------------------------------------------------------------------------
|
|
Method 1: Explicitly set include and linking options
|
|
$ cd <bundle>
|
|
$ g++ -std=c++98 samples/exifprint.cpp -I/usr/local/include -L/usr/local/lib -lexiv2 -o exifprint
|
|
$ export PATH="/usr/local/bin:$PATH"
|
|
$ ./exifprint --version
|
|
|
|
Method 2: Use pkg-config to set include and linking options
|
|
$ cd <bundle>
|
|
$ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
$ export PATH="/usr/local/bin:$PATH"
|
|
$ g++ -std=c++98 samples/exifprint.cpp -o exifprint $(pkg-config exiv2 --libs --cflags)
|
|
$ ./exifprint --version
|
|
|
|
Method 3: Use the CMake support/consume files
|
|
See file: README.md Section: 2.6 "Consuming Exiv2 with CMake"
|
|
|
|
More Documentation
|
|
------------------
|
|
|
|
Project Website: https://exiv2.org
|
|
|
|
$ export "MANPATH=/usr/local/share/man:$MANPATH"
|
|
$ man exiv2
|
|
|
|
Robin Mills
|
|
robin@clanmills.com
|
|
Updated: 2020-04-22
|