This article describes how to compile Link Grammar 4.4.0 DLL with MS Visual Studio 2008 Express. Download link-grammar-4.4.0.tar.gz archive from AbiWord project server. Apart from everything else, the archive contains the following folders:
link-grammar-4.4.0
\link-grammar
\msvc9Extract link-grammar-4.4.0\link-grammar folder with all subfolders and files to <MS Visual Studio Folder>\VC\include folder, where <MS Visual Studio Folder> is the folder in which MS Visual Studio 2008 Express is installed (usually, it is %ProgramFiles%\Microsoft Visual Studio 9.0). Find link-features.h.in file in <MS Visual Studio Folder>\VC\include folder, rename the file to link-features.
h.
Further, extract link-grammar-4.4.0\link-grammar and link-grammar-4.4.0\msvc9 folders with all subfolders and files to a convenient folder. Find link-features.h.in file in link-grammar folder, rename the file to link-features.h. Then, find LinkGrammar.sln file in msvc9 folder, open the file with MS Visual Studio 2008 Express. Using Solution Explorer, remove malloc-dbg.c from the file list (see the picture at the left). Everything is ready now, try to build the project with “Release” solution configuration. After building finished, find link-grammar.dll file in msvc9\Release folder.
P.S. Please take into account that English is not my native language. Probably, the text contains language errors. Sorry if so. Also, please note that some links may be obsolete at the moment.