These instructions assume that users are using Microsoft Visual C++.
For other compilers, instructions for library placement and directory inclusion can be found in the compiler's documentation.
Step 1: Windows Platform SDK
Download and install the Windows SDK. If using .net get the latest version at microsoft.com.
If using 6.0, use the February 2003 version, found here.
- After the install, open up Microsoft Visual C++.
From the menu bar, go to Tools => Options
In the options pane, the first tab (Editor) should be selected by default. Locate and select the Directories tab.
In the Directories tab, select "Include files" in the "Show directories for" control and add the following three directories:
- <SDK INSTALL PATH>\INCLUDE
- <SDK INSTALL PATH>\INCLUDE\MFC
- <SDK INSTALL PATH>\INCLUDE\GL
Now select "Library files" in the "Show directories for" control and add the following location:
<SDK INSTALL PATH>\LIB
Step 2: Downloading and compiling TextMOLE
Download and unzip TextMOLE. Open up the workspace file DataMineSTL.dsw
Note: Currently, stop files must be included in the same directory as the executable file (or if run from the environment, from the same directory as the project files)
From the menu bar, go to Project => Settings (Alt-F7).
Select the "Link" tab.
Verify that the following DLLs are included under "Object/library Modules":
comctl32.lib gdiplus.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
- From the menu bar, go to Build => Build Datamine.exe (F7) to compile and link the TextMOLE project. It should compile without any warnings or errors.