[BRLTTY] Accessing brlAPI from Client Application in Windows Environment

Siju Samuel sijusamueltech at gmail.com
Fri Aug 2 19:14:41 EDT 2013


Hi,


>>This is now fixed. It wasn't a serious problem, but, yes, it was
annoying, and,
>>to a new builder, a bit "scary".

>>A number of other Windows build warnings have also now been resolved.
Please
>>try it again.


I got the latest from svn and have the following four   clarification

1)  Gets compilation error in both linux and windows. I commented that for
now and proceed to check for the nect steps.

Error
------

async.c:299:18: warning: unused variable 'function' [-Wunused-variable]
datafile.build.o: In function `parseDataString':
C:\Users\ssamuel\AppData\Local\Temp\brltty-mkwin\build\Programs/datafile.c:548:
undefined reference to `getCharacterByName'
collect2: ld returned 1 exit status
make[1]: *** [tbl2hex.exe] Error 1
make: *** [all] Error 2



2)  In current mingw environment that I have i do not have Java/Python/Tcl
etc, which I assume it is not required for my work. So I commented  some
lines inn mkWin. Will this affect any process?  Note that brlttycnf.exe
 was not created after make. Also please note that replaced msvcr90.dll
with msvcr100.dll.

Commented lines to progress the mkWin
---------------------------------------------------------------
#cp Bindings/Python/dist/Brlapi-$apiversion.win32.exe "${installRoot}"
#cp brlttycnf.exe "${installRoot}"
#cp Drivers/BrlAPI/WindowEyes/webrloem109.dll "${installRoot}"
#cp ${sourceRoot}/Hotplug/brltty.inf "${installRoot}/bin"


#cp "$SYSTEMROOT/system32/drivers/libusb0.sys" "${installRoot}/
#cp "$SYSTEMROOT/system32/drivers/libusb0_x64.sys" "${installRo
#cp "$SYSTEMROOT/system32/libusb0.dll" "${installRoot}/bin"
#cp "$SYSTEMROOT/system32/libusb0_x64.dll" "${installRoot}/bin"
#cp "$SYSTEMROOT/system32/braille.dll" "${installRoot}/bin"
#cp "$SYSTEMROOT/system32/msvcr90.dll" "${installRoot}/bin"
cp "$SYSTEMROOT/system32/msvcr100.dll" "${installRoot}/bin"

It was giving some warning during compile
./braille.c:47:2: warning: #warning curses package either unspecified or
unsuppo
rted [-Wcpp]

#cp /mingw/bin/curses2.dll "${installRoot}/bin"


3) Most importantly currently I am stuck at
cp "$SYSTEMROOT/system32/msvcr100.dll" "${installRoot}/bin"
(cd "${installRoot}/lib" ; lib /def:brlapi.def /name:brlapi-0.5.dll
/out:brlapi.
lib )

./mkwin: line 204: lib: command not found

I could not find   quickly how to get lib.exe (?) in mingw.
I have Visual Studio 2010 installed. Is lib.exe is related to that? But
again I did not find any lib.exe in my system.

4)
When it execute this
"${autohotkey}/Compiler/Ahk2Exe.exe" /in brlttycnf.ahk /out brlttycnf.exe

I get  a POPUP message box with OK /Cancel option. I selected OK . Is
itfine
Ak2Exe.exe/in infile.ahk[/out outfile.exe][/icon iconfile.ico][/bin
AutoHotKeySC.bin]



Can you please suggest.


Thanks,
Siju samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20130802/03bb7e6e/attachment.html>


More information about the BRLTTY mailing list