Skip to content

Commit

Permalink
Update README.windows
Browse files Browse the repository at this point in the history
Add more detailed description about how to make the DLL.
  • Loading branch information
moyanming committed Jun 28, 2018
1 parent a062d87 commit 01d505d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.windows
Expand Up @@ -12,13 +12,19 @@ tools. You will also have to set environment variables correctly. You
can download the Community version of Microsoft Visual Studio, including
Visual C++, and the Microsoft Windows SDK for free. It has a batch file
that sets environment variables and then displays a command prompt.
For example, you should add the Visual Studio path
(C:\Program Files (x86)\Microsoft Visual Studio\2017\Community) to the
"Path" of the environment variables manually.

Next, go to the subdirectory windows. Edit the file configure.mk. If you
want 32-bit Unicode change the 2 in the line UCS=2 to a 4.

Now type

For example, you should open the "VS 2017 Developer Command Prompt" from
the Start menu and use the "cd" command goto the "\liblouis-x.x.x\windows"
folder, then type:
nmake /f Makefile.nmake

The directory will contain liblouis.dll and liblouis.lib, along with
object files.
object files.
Note: those liblouis.dll and liblouis.lib only support for the Windows
32-bit usage.

0 comments on commit 01d505d

Please sign in to comment.