Blame README.windows

Packit Service b70e42
This file describes how to build liblouis.dll That is the only binary 
Packit Service b70e42
file needed by someone who wishes to use liblouis in an application. The 
Packit Service b70e42
tables are in the tables subdirectory of the liblouis distribution. For 
Packit Service b70e42
an overview of liblouis see README. 
Packit Service b70e42
Packit Service b70e42
First, obtain the liblouis source, either by downloading the latest 
Packit Service b70e42
tarball or from the Subversion repository. See HACKING for instructions. 
Packit Service b70e42
If you downloaded the tarball, unpack it.
Packit Service b70e42
Packit Service b70e42
To build liblouis.dll you will need the Microsoft command-line C/C++ 
Packit Service b70e42
tools. you will also have to set environment variables correctly. You 
Packit Service b70e42
can download the express versions of Visual Studio, MSVC and the 
Packit Service b70e42
Microsoft C/C++ SDK free. All have a batch file that sets environment 
Packit Service b70e42
variables and then displays a command prompt.
Packit Service b70e42
Packit Service b70e42
Next, go to the subdirectory windows. Edit the file configure.mk If you 
Packit Service b70e42
want 
Packit Service b70e42
32-bit unicode change the 2 in the line UCS=2 to a 4.
Packit Service b70e42
Packit Service b70e42
Now type
Packit Service b70e42
Packit Service b70e42
nmake /f Makefile.nmake
Packit Service b70e42
Packit Service b70e42
The directory will contain liblouis-2.dll and liblouis-2.lib, along with 
Packit Service b70e42
object files.
Packit Service b70e42
Packit Service b70e42