[liblouis-liblouisxml] Re: How to get liblouisutdml to find liblouis tables on windows

  • From: Michael Whapples <mwhapples@xxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 05 Aug 2013 11:22:15 +0100

I wonder whether all those applications are Java?

BrailleBlaster certainly is.

OpenOffice is Java based so there is a good chance the ViewPlus stuff for OpenOffice is.

If ODT2Braille is in OpenOffice then that too could be Java based.

Also the above very likely comes with other baggage, doing much which is irrelevant, having interfaces to work with other applications (eg. work inside the OpenOffice environment), etc.

Why not a simple example C application which works on Windows which demonstrates the C API?

Michael Whapples
On 05/08/2013 10:45, John J. Boyer wrote:
liblouis and liblouisutdml are working in Windows in BrailleBlaster and
ODT2Braille . I hope Michael has solved his problem by now. If not
others at ViewPlus have gotten the libraries to work in OpenOffice. Line
4599 in compileTranslationTable.c is correct.

John

On Mon, Aug 05, 2013 at 11:32:26AM +0200, Christian Egli wrote:
Michael Whapples <mwhapples@xxxxxxx> writes:

In short it just does not seem to work and the documentation seems to
say nothing useful.
What I usually do is to look at the code to see what it really does. The
code in liblouis/liblouis/compileTranslationTable.c has some weird
#ifdef _WIN32 in it that seem to be searching in specific directories. I
have never looked at this too closely but there is an (obvious) typo in
there that seems to indicate that not all of this code works (at least
on windows). For the typo look at line 4599 of compileTranslationTable.c
where it says 'strcat (trialPath, "\\share\\liblouss\\tables\\");'. I
don't think this can be right.

Just try to make sense of the findTable function in
compileTranslationTable.c. If you think there is anything that can be
improved in the code or in the documentation please let us know.

Thanks
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Aktuell informiert mit den Hoerzeitschriften der SBS. Mehr Infos unter 
http://www.sbs.ch/zeitschriften.
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: