Debian Codegraph @

releasenotes/MinGW/ReadMe.txt

raw
1 @RV@ MinGW/Windows Bundle @RC@
2
3 Document Purpose
4 -------- -------
5 ReadMe.txt This file
6 README.md Developer Manual
7 README-CONAN.md Developer Manual Appendix
8 README-SAMPLES.md Developer Sample Code Manual
9 releasenotes.txt Late breaking news
10 exiv2.png Exiv2 Logo
11 COPYING GPLv2.0 Software License
12
13 Deliverable Location
14 ----------- --------
15 exiv2 and sample applications bin/exiv2.exe
16 shared library bin/libexiv2.dll
17 import library lib/libexiv2.dll.a
18 CMake support/consume files lib/cmake/exiv2
19 pkg-config file lib/pkgconfig/exiv2.pc
20 man pages share/man/
21 localisation files share/locale/
22 sample code samples/exifprint.cpp
23 build and test log logs/build.txt
24
25 To run exiv2 from the bundle
26 ----------------------------
27 $ cd <bundle>
28 $ env PATH="$PWD/bin:$PATH" bin/exiv2
29
30 To build samples/exiftool.cpp from the bundle
31 ---------------------------------------------
32 $ cd <bundle>
33 $ g++ -std=c++98 samples/exifprint.cpp -Llib -Iinclude -lexiv2 -o exifprint
34 $ env PATH="$PWD/bin:$PATH" ./exifprint
35
36 To install for use by all users
37 -------------------------------
38 $ cd <bundle>
39 $ for i in bin include lib share ; do mkdir -p /usr/local/$i ; cp -R $i/* /usr/local/$i ; done
40
41 To compile and link your own code using installed library and include files
42 ---------------------------------------------------------------------------
43 Method 1: Explicitly set include and linking options
44 $ cd <bundle>
45 $ g++ -std=c++98 samples/exifprint.cpp -I/usr/local/include -L/usr/local/lib -lexiv2 -o exifprint
46 $ export PATH="/usr/local/bin:$PATH"
47 $ ./exifprint --version
48
49 Method 2: Use pkg-config to set include and linking options
50 $ cd <bundle>
51 $ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
52 $ export PATH="/usr/local/bin:$PATH"
53 $ g++ -std=c++98 samples/exifprint.cpp -o exifprint $(pkg-config exiv2 --libs --cflags)
54 $ ./exifprint --version
55
56 Method 3: Use the CMake support/consume files
57 See file: README.md Section: 2.6 "Consuming Exiv2 with CMake"
58
59 More Documentation
60 ------------------
61
62 Project Website: https://exiv2.org
63
64 $ export "MANPATH=/usr/local/share/man:$MANPATH"
65 $ man exiv2
66
67 Robin Mills
68 [email protected]
69 Updated: 2020-04-22