Debian Codegraph @

releasenotes/Cygwin/ReadMe.txt

raw
1 @RV@ Cygwin/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/cygexiv2-@[email protected]
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 $ bin/exiv2
29
30 To build samples/exiftool.cpp from the bundle
31 ---------------------------------------------
32 $ g++ -std=gnu++98 samples/exifprint.cpp -L$PWD/lib -I$PWD/include -lexiv2 -o exifprint
33 $ env PATH="$PWD/bin:$PATH" ./exifprint
34
35 To install for use by all users
36 -------------------------------
37 $ for i in bin include lib share ; do cp -R $i/* /usr/local/$i ; done
38
39 To compile and link your own code using installed library and include files
40 ---------------------------------------------------------------------------
41 Method 1: Explicitly set include and linking options
42 $ cd <bundle>
43 $ g++ -std=gnu++98 samples/exifprint.cpp -I/usr/local/include -L/usr/local/lib -lexiv2 -o exifprint
44 $ export PATH="/usr/local/bin:$PATH"
45 $ ./exifprint --version
46
47 Method 2: Use pkg-config to set include and linking options
48 $ cd <bundle>
49 $ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
50 $ export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
51 $ g++ -std=gnu++98 samples/exifprint.cpp -o exifprint $(pkg-config exiv2 --libs --cflags)
52 $ ./exifprint
53
54 Method 3: Use the CMake support/consume files
55 See file: README.md Section: 2.6 "Consuming Exiv2 with CMake"
56
57 More Documentation
58 ------------------
59
60 Project Website: https://exiv2.org
61
62 $ export "MANPATH=/usr/local/share/man:$MANPATH"
63 $ man exiv2
64
65 Robin Mills
66 [email protected]
67 Updated: 2020-04-22