Hi Siddharth, I could not find easily which version of MingW I am using. if any command or properties that I can look at let me know. How ever, the following are some directories if you can make out some useful info. ( it is mingw32)
/mingw/msys/1.0 /mingw/bin $ ls min* mingw-get.exe mingw32-g++-4.6.2.exe mingw32-gcc.exe mingw32-c++.exe mingw32-g++.exe mingw32-make.exe mingw32-cc.exe mingw32-gcc-4.6.2.exe mingwm10.dll Other than that; I think i did not use brlty-4.5 directly from the bltty site. Instead i checked out the development version using svn at that time as suggested by Dave/samuel. I have shared the ZIP source file to your gmail id (brltty.zip) . That can be used to test it is working or not. I noticed some config param are different compared to what I wrote last time. So I am pasting my notes one again with correction. Use an entirely new directory in case if you are trying out further MAY trial 0. Use the zip file . [ Checked svn source code few months back in linux. Run the .autogen. Transfer the zip file to windows] 0.1 Unzip to /c/brlttymaywin/ ---STEPS for libusb-win32 - install 1\ download libusb-win32 from " http://sourceforge.net/projects/libusb-win32/files/", unpack it. 2\ [In Mingw]Symlink the header and library files into MinGW installation, run: ln -s "....(path to)/LibUSB-Win32/include/lusb0_usb.h" /mingw/include/usb.h ln -s "....(path to)/LibUSB-Win32/lib/gcc/libusb.a" /mingw/lib/ ln -s "....(path to)/LibUSB-Win32/bin/x86/libusb0_x86.dll" /mingw/bin/libusb0.dll 3. In MingW : Configure and Make Install cd /c/brlttymaywin/brltty $ ./configure --with-braille-driver=fs,-all --with-screen-driver=-all --with-speech-driver=-all --enable-relocatable-install make install INSTALL_ROOT="/brlttymay" cd /brlttymay In Windows The corresponding location in windows : C:\MinGW\msys\1.0\brlttymay cp C:\MinGW\msys\1.0\brlttymay C:\brlttymaywin\BUILD\brltty After doing step LIBUSB below run the following In a .bat file in [C:\brlttymaywin\BUILD\brltty\run-debug.bat] .\bin\brltty -b fs -xno -p none -A auth=none -l debug -n -e --no-release-device> debug.log 2>&1 Step LIBSUB 1\ To actually be able to use the libusb-win32 driver, need to copy the runtime files in the brltty- built bin [ I think if the libusb is installed the following might not to be done. ] cp "/path/to/LibUSB-Win32/bin/x86/libusb0.sys" brltty/bin/libusb0.sys cp "/path/to/LibUSB-Win32/bin/x86/libusb0_x86.dll" brltty/binlibusb0.dll cp "/path/to/LibUSB-Win32/bin/amd64/libusb0.sys" brltty/bin/libusb0_x64.sys cp "/path/to/LibUSB-Win32/bin/amd64/libusb0.dll" brltty/bin/libusb0_x64.dll 2\ let braille device driver point at the brltty/brltty.inf file [brltty.inf location not sure] 1) plug braille device and open device manage in windows 2) right click the braille device driver, update driver software 3) Browse my computer for driver software -> Let me pick from a list of device drivers on my computer 4) Have disk, browse "brltty.inf" in "brltty/bin/", then click OK [ or where ever that .inf file is ..???] 5) In "Model" window, choose "LibUSB-Win32: FreedomScientific[Focus Blue]" -> next -> finish RUNNING A SAMPLE CLIENT; Run the sample program in brltty site to test it is working or not. http://mielke.cc/brltty/doc/Manual-BrlAPI/English/BrlAPI-5.html#ss5.1 compile and run the program $ gcc siclient.cpp -o sicpp -I/brlttymay/usr/include -L /brlttymay/lib -lbrlapi thanks, siju samuel On Thu, May 22, 2014 at 2:25 AM, Siddharth <[email protected]> wrote: > Hi Siju, > > Thanks for your detailed notes. I tried out the method you recommended > with brltty-4.5 but faced the same error with tables while 'make install' : > /bin/install: cannot open `../Tables/sl.ttb' for reading: No such file or > directory > I now suspect their might be some problem with my environment (MingGW) > that it is not able to find files that are very much present in the > directory it is looking in. Could you please tell me which version of MinGW > did you use? > > Regards, > Siddharth > > > > > On 17 May 2014 02:51, Siju Samuel <[email protected]> wrote: > >> 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 < >> [email protected]> 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: [email protected] >>> For general information, go to: http://mielke.cc/mailman/listinfo/brltty >>> >> >> >> _______________________________________________ >> This message was sent via the BRLTTY mailing list. >> To post a message, send an e-mail to: [email protected] >> For general information, go to: http://mielke.cc/mailman/listinfo/brltty >> > > > _______________________________________________ > This message was sent via the BRLTTY mailing list. > To post a message, send an e-mail to: [email protected] > For general information, go to: http://mielke.cc/mailman/listinfo/brltty >
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
