[Openadaptxt-developers] Building and running OpenAdaptxt on Windows 7
Brought to you by:
keypoint,
openadaptxt
|
From: Tim B. <tcb...@gm...> - 2011-10-06 11:15:09
|
Hello,
I'm interested in trying out OpenAdaptxt to add word prediction to an
accessibility application I'm writing. Would you be able to give me a few
pointers on how to get started? I'm using Visual C++ 2010 Express on Window
7.
I made some partly successful attempts to get the code to build and run -
here's what I tried:
- Downloaded api, pal, testingTools and v2core code from SVN
- Downloaded the Framework_Windows_2.6.0.0 project which contains a nice
looking data/base folder
- Followed the build procedures doc:
(i) Built pal solution: 28 libs built successfully, DLLs failed but I
guess I can do without them for now
(ii) Built api solution: 8 libs built successfully, DLLs failed but I
guess I can do without them for now
- Created a C++ console app project containing the code from
Example_KPTFwkCreate and including kpt*.h, referencing the lib files, and
setting the KPT_LIBAPI_LIB preprocessor option (#define)
- Implemented the "GetPathToFrameworkFiles" method in order to set the "base
path" to the data/base folder as shown below (maybe wrong?)
const KPTSysCharT*
GetPathToFrameworkFiles()
{
return _T("C:\\Users\\Tim\\Documents\\Visual Studio
2010\\Projects\\OpenAdaptxtTest\\OpenAdaptxtTest\\Framework_Windows_2.6.0.0\\data\\base");
}
Outcome: KPTFwkCreate returns the result severity 3 (error), component 25
(?), status code 34 (KPT_SC_OSERROR)
Any ideas where I'm going wrong? Thanks in advance for any help you can
offer.
Tim
|