Actions
Building exiv2 on Windows Using MinGW¶
*Last revision on which this method was tested: r3288
*Operating Systems on which this method was tested: Windows7 Professional and Home-Premium 64bit
- Download
MinGW
- While selecting packages, make sure that the selected packages include the ones listed in the file MinGW_Required_Packages.txt
- pkg-config is not part of standard MinGW installation. Assuming your
MinGW
installation is inC:\MinGW
, download pkg-config and extractpkg-config.exe
executable toC:\MinGW\bin
. Then download glib and extract liglib-2.0-0.dll toC:\MinGW\bin
. Open command prompt and type:cd C:/MinGW/bin cp libintl-8.dll intl.dll
- For building exiv2, open command prompt and type:
mkdir C:\gnu cd C:\gnu svn checkout svn://dev.exiv2.org/svn/trunk cd trunk set PATH=c:\MinGW\bin;c:\MinGW\msys\1.0\bin;C:\MinGW\msys\1.0\local\bin; bash PS1="\! \${PWD}> "; #Optional make config ./configure make make install export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make samples make tests
- Troubleshooting: If you get the error...
/usr/bin/grep: /home/keith/staged/mingw32/lib/libiconv.la: No such file or directory /usr/bin/sed: can't read /home/keith/staged/mingw32/lib/libiconv.la: No such file or directory libtool: link: `/home/keith/staged/mingw32/lib/libiconv.la' is not a valid libtool archive
...then open command prompt and type:grep keith C:\MinGW\lib
and remove all *.la files containing that word.
Refer: keith-hard-link-bug
- Troubleshooting: If you get the error...
Updated by Nehal J Wani over 7 years ago ยท 7 revisions