Menu

Compiling on Windows with Visual Studio

David Fisher

The installer can optionally install the full indri source tree, placing it in the "src" subfolder of the target directory. That folder contains the Visual Studio solution file "indri.sln (VS2003) indri-VS2005.sln, and indri-VS2008.sln". There is a separate project file for each library and for each application.

By default the project configurations are built in "Debug" mode. To change this so that it compiles with fewer warnings and runs at higher efficiency, change the configuration setting in the "Build" menu. Then choose "Configuration Manager". In the menu for "Active Solution Configuration", choose "Release".

Important Note: ''before'' compiling the toolkit from the source, you must set the proper include path for the Java library. To modify the library, in the Solution Explorer view, right-click on the "swig" project and choose "Properties". Set the "Configuration" drop-down box (at the top of the dialog box) to "All Configurations". Next, in the "Additional Include Directories" field, set the appropriate paths to your Java JDK installation's include directory and include/win32 directory. Press the "OK" button when finished, and rebuild.


Related

Wiki: Compiling and Installing

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.