[BRLTTY] Compilation problems on Windows
Siju Samuel
sijusamueltech at gmail.com
Fri May 16 17:21:46 EDT 2014
Hi,
>>I have a Seika 40 display and I'm trying to get NVDA to use brlttythat
I've compiled from source. I am unable to do so because I suspect the
>>service isn't running and it cannot connect to BrlAPI. Also, I don't know
where to look for the error returned by brltty when NVDA tries to >>connect
to BrlAPI."
I would like to add following information in case if it is helpful in
anyway.
A few months back I was trying to run a chrome based browser application
to use brltty in Windows machine. Basically I compilied brltty using MingW
from source and ran brltty.exe. And programmatically I could invoke
BrlApis from chrome based application to read and write to refreshable
braille device (Freedom focus).
Today I downloaded latest NVDA and installed. Focus 14 is connected and
made sure it is using the Brltty drivers. (using device manager).
First Trial : Started NVDA which was not writing to the device.
*Second Trial : Strated brltty.exe and Then started NVDA, it is writing to
the device etc. *I assume here some how NVDA is using brltty's APIs . As I
see the logs in brltty's log.
Now coming to compiling brltty, I used an old version (4.5) and today I was
re-using it.
Just did config and make and make install . Used only bare minimum
things to avoid all other errors coming from compilation .[all using
brltty 4.5 ]
./configure --with-braille-driver=fs,-all --with-screen-driver=-all
--with-speech-driver=-all
Also write a sample program to invoke brlapi and check it is writing to
device or not. Basically to make sure brltty can communicate using th usb
device.
I am pasting some of my old notes here :
1.Check out the latest code in Linux machine.
./autogen ( Perform in Linux)
then copy code to Windows/Mingw
I have the libusb-win32 file downloaded to
/C/brlttywindows/libsub/libusb-win32-bin-1.2.6.0/.
and used
ln -s
"/C/brlttywindows/libsub/libusb-win32-bin-1.2.6.0/include/lusb0_usb.h"
/mingw/include/usb.h
ln -s "/C/brlttywindows/libsub/libusb-win32-bin-1.2.6.0/lib/gcc/libusb.a"
/mingw/lib/
ln -s
"/C/brlttywindows/libsub/libusb-win32-bin-1.2.6.0/bin/x86/libusb0_x86.dll"
/mingw/bin/libusb0.dll
2. Configure and Make looks everything successful ( after setting up the
USB related symbolic links)
./configure --with-braille-driver=fs,-all --with-screen-driver=-all
--with-speech-driver=-all
3. Then perform the USB-driver related setup in README and libsub-win32
read me
Copied libsub-win32 related .sys and .lib file as described in the
document.
4. Connected the device and Updated the device Driver to use from
"brltty.inf" file.
Note that I copied brltty.inf file from the brltty-4.5.tar
Now it shows LibUSB-Win32 Device : LibUsb-win32 : Freeedom Scientific
[focus Braille]. And teh devic eprovider is Brltty.
5. Ran Brltty wih
.\bin\brltty -b fs -xno -p none -A auth=none -l debug -n -e
--no-release-device > debug.log 2>&1
regards,siju
On Thu, May 15, 2014 at 6:12 PM, Samuel Thibault <
samuel.thibault at ens-lyon.org> wrote:
> Hello,
>
> Siddharth, le Thu 15 May 2014 17:43:05 +0530, a écrit :
> > no files matched glob pattern "brlapi_tcl.dll"
> > while executing
> > "glob -directory $dir -tails -types {r f} -- {*}$patternList"
> > (procedure "pkg_mkIndex" line 53)
> > invoked from within
> > "pkg_mkIndex /tmp/brltty-mkwin/brltty/mingw/lib/brlapi-0.6.2
> brlapi_tcl.dll"
> > (file "./mkindex" line 1)
> >
> > I am unable to understand the cause of the error, there is a file
> > brlapi_tcl.dll in /tmp/brltty-mkwin/brltty/mingw/lib/brlapi-0.6.2/ but it
> > appears to be corrupted. I cannot even locate "procedure "pkg_mkIndex
> line 53"
>
> It seems that comes from Bindings/Tcl/Makefile.in, and for some reason
> it doesn't work.
>
> > How do I resolve it?
>
> I actually never built the tcl bindings on Windows :)
> You can probably modify mkwin to add --disable-tcl-bindings in
> configure_line.
>
> Samuel
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20140516/a1433748/attachment.html>
More information about the BRLTTY
mailing list