1================================================================= 2 libdmtx - Open Source Data Matrix Software 3================================================================= 4 5 libdmtx README file (MinGW) 6 7This README.mingw file contains information on installing and 8using libdmtx using MinGW. The general README file, also found in 9this directory, contains a high level summary of libdmtx and its 10components. 11 12 131. Installing libdmtx on Windows using MinGW and MSYS 14----------------------------------------------------------------- 15 16libdmtx can be installed on MinGW using the instructions provided 17in the general README file. However, please see below for 18additional details that might benefit users on this platform. 19 20 212. Installing MinGW and MSYS 22----------------------------------------------------------------- 23 24If you haven't done so already, first install MinGW, MSYS, and 25all recommended updates to your Windows system. Instructions for 26doing this are provided here: 27 28 http://www.mingw.org/wiki/msys 29 30 313. Building and installing the core library 32----------------------------------------------------------------- 33 34To install libdmtx, download and unpack the libdmtx source to 35your MSYS folder. If you accepted the installation defaults this 36will be C:\msys\1.0. 37 38Open the MSYS shell and run the following: 39 40 $ ./configure 41 $ make 42 $ sudo make install 43 44Go to folder .libs: 45 46 $ cd .libs 47 $ ls 48 49Now you should see following output: 50 51 libdmtx.a libdmtx.la libdmtx.lai libdmtx_la-dmtx.o 52 53Finally run: 54 55 $ gcc -shared -o dmtx.dll libdmtx_la-dmtx.o -Wl,--out-implib,libdmtx.a 56 57Now you should have working dmtx.dll in the folder .libs. 58 59 604. This Document 61----------------------------------------------------------------- 62 63This document is derived from the wiki page located at: 64 65 http://libdmtx.wikidot.com/libdmtx-on-windows-using-mingw 66 67If you find an error or have additional helpful information, 68please edit the wiki directly with your updates. 69