Build Instructions

Prerequisites:

NVDAHelper needs The Microsoft Windows SDK, version 6.1 or later. You can find it here:
http://msdn.microsoft.com/en-us/windows/bb980924.aspx

 The gecko_ia2 virtual buffer backend requires the IAccessible2 IDL, version 1.2 or later. You can obtain it here:
http://www.linuxfoundation.org/en/Accessibility/IAccessible2
Download the merged IDL and copy it to ..\include\ia2\ia2.idl.

The adobeAcrobat virtual buffer backend requires the Adobe Acrobat accessibility IDL, version 9.1 or later. This can be found in the client files archive available from http://www.adobe.com/devnet/acrobat/interapplication_communication.html
The archive is named something like Acrobat_Accessibility_9.1.zip.
Extract the AcrobatAccess.idl file into ..\include\AcrobatAccess.

The apiHook module requires MinHook 1.1.0 or later: http://www.codeproject.com/KB/winsdk/LibMinHook.aspx
	* Download the source archive. The file name is something like MinHook_110_src.zip depending on exact version.
	* You will need an account on CodeProject to download from there.
	* extract the source archive, and from it copy the libMinHook directory to NVDA's source/include directory.

minHook (and possibly in future nvdaHelper) depends on the Boost c++ library 1.42 or later:
	* you can download the latest Windows installer from http://www.boostpro.com/download
	* On the components page of the installer, make sure to install all the defaults (what ever is already checked), along with anything else you may wish to have for other projects.
	* So far only boost headers are used, none of the pre-compiled libraries are necessary for nvda/minHook.

The NVDAHelper build is managed by the SCons build system, version 1.3.0 or later: http://www.scons.org/

Building the library:

There is no need to use the MSVC environment command prompt when building, as scons will locate what it needs automatically in any standard environment.

To build and install the library and all virtual buffer backends, open a command prompt, cd to the top-level directory of nvdaHelper and run the command:
scons install
By default a version with debugging symbols will be generated. To build a release version, provide release=1 on the command line when running scons:
scons install release=1

Note that now both x86 and x64 versions of the libraries are automatically built, there is no need to supply any target arch variables by default.

However, if you specifically only want to build certain architectures, you can provide a comma separated list of the required architectures to the targetArchitectures variable on the commandline, like so:
scons targetArchitectures=x86
or
scons targetArchitectures=x86_64
or
scons targetArchitectures=x86,x86_64
 