Minor changes to ReadMe.txt for Cygwin, MinGW and msvc.

v0.27.3
Robin Mills 7 years ago committed by Luis Díaz Más
parent 9b16a4909e
commit 21219ed69f

@ -35,7 +35,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
---------------------------------------------------------------------------
$ g++ -std=gnu++98 samples/exifprint.cpp -I/usr/include -I/usr/local/include -L/usr/local/lib -lexiv2lib -o exifprint
$ export PATH="$PATH:/usr/local/bin"
$ export PATH="/usr/local/bin:$PATH"
$ ./exifprint --version
exiv2=0.27.0
...

@ -21,12 +21,13 @@ README-CONAN.md User Manual Appendix
To run exiv2 from the bundle
----------------------------
$ cd <bundle>
$ bin/exiv2
$ env PATH="$PWD/bin:$PATH" bin/exiv2
To build samples/exiftool.cpp from the bundle
---------------------------------------------
$ g++ -std=c++98 samples/exifprint.cpp -L$PWD/lib -I$PWD/include -lexiv2lib -o exifprint
$ env PATH="$PWD/bin:$PATH" ./exifprint
$ cd <bundle>
$ g++ -std=c++98 samples/exifprint.cpp -Llib -Iinclude -lexiv2lib -o exifprint
$ ./exifprint
To install for use by all users
-------------------------------
@ -34,6 +35,7 @@ $ for i in bin include lib ; do mkdir -p /usr/local/$i ; cp -R $i/* /usr/local/$
To compile and link your own code using installed library and include files
---------------------------------------------------------------------------
$ cd <bundle>
$ g++ -std=c++98 samples/exifprint.cpp -I/usr/local/include -L/usr/local/lib -lexiv2lib -o exifprint
$ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
$ ./exifprint --version

@ -1,11 +1,11 @@
MSVC 2017 Release DLL Bundle
----------------------------
Visual Studio 2017 Release DLL Bundle
-------------------------------------
Structure of the bundle:
------------------------
bin/exiv2 exiv2 and sample applications
bin/exiv2lib.dll and libcurl.dll dlls
bin/exiv2lib.dll dll
lib/exiv2lib.lib & xmp.lib link libraries
include/exiv2/ include files
share/ man pages
@ -24,11 +24,12 @@ README-CONAN.md User Manual Appendix
+----------------------------------------------------------------------------+
To run exiv2.exe from the bundle:
c:\temp> cd <exiv2-0.27.0.1-msvc>\bin
c:\temp\exiv2-0.27.0.1-msvc\bin> exiv2
c:\> cd <bundle>\bin
<bundle>\bin> exiv2
Add the bin to your PATH:
c:\temp\exiv2-0.27.0.1-msvc\bin>set PATH=%CD%;%PATH%
c:\> cd <bundle>\bin
<bundle>\bin>set PATH=%CD%;%PATH%
To compile and link your own code:
@ -38,10 +39,10 @@ To compile and link your own code:
| or initialise the DOS environment by calling vcvarsall.bat |
+----------------------------------------------------------------------------+
c:\temp> cd exiv2-0.27.0.1-msvc
c:\temp\exiv2-0.27.0.1-msvc> cl /EHsc -Iinclude /MD samples\exifprint.cpp /link lib\exiv2lib.lib
c:\temp\exiv2-0.27.0.1-msvc> exifprint --version
c:\> cd <bundle>
<bundle>> cl /EHsc -Iinclude /MD samples\exifprint.cpp /link lib\exiv2lib.lib
<bundle>> exifprint --version
exiv2=0.27.0
...
xmlns=xmpidq:http://ns.adobe.com/xmp/Identifier/qual/1.0/
c:\temp\exiv2-0.27.0.1-msvc>
<bundle>>

Loading…
Cancel
Save