[liblouis-liblouisxml] Re: Help building file2brl.exe

  • From: Greg Kearney <gkearney@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 3 Nov 2015 06:00:10 -0800

You know it's a real shame we can not or will not offer precompiled versions of
file2brl. It's a super useful tool in it own right and we loose the resources
of many talented people like this gentleman who have much to offer us but who
are unable to jump through the hurtles we set for them.

I can not help but wonder what interesting Braille applications will never see
the light of day.

Sent from my iPhone

Greg Kearney

On Nov 3, 2015, at 2:20 AM, Jake Kyle <jake@xxxxxxxxxxxxxxxxxx> wrote:

Thank you very much Arend and Bert for your explanations. Things are much
clearer now. I think I am out of my depth on trying to compile file2brl!

Basically what I am hoping to do is to write and use liblouis braille tables
in various languages to translate text files into unformatted braille. From
what I read it looked like I would need file2brl in order to do this – but it
looks like there may be other options.

Thank you Larry for the link to your program as described here:
If you just want to be able to translate files, we are working on a Windows
Sen To shortcut that uses Pandoc and Liblouis to turn various files of
varying types to a translated brl file.
Check it out and give us some feedback.
It is at http://tech.aph.org/lt_setup.exe
– it sounds very promising – I will definitely check it out.

Jake


From: Bert Frees
Sent: Monday, November 2, 2015 5:05 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: Help building file2brl.exe

For the record, I could successfully build file2brl.exe on Windows at one
point (back when it was still called xml2brl.exe) but later learned to do it
with cross-compilation which is ten times easier. Just for reference (I don't
want to encourage anybody to try this):
http://odt2braille.svn.sourceforge.net/viewvc/odt2braille/trunk/ext/liblouisxml/README?revision=204&view=markup

Since you're not a programmer I don't recommend you try to build
liblouisutdml yourself. There are pre-compiled versions out there that you
can use. For example v2.5.0 can be downloaded here:
http://central.maven.org/maven2/org/liblouis/louisutdml/2.5.0/louisutdml-2.5.0.nar
(rename the file to ZIP and extract).

I'm not aware of any newer pre-compiled versions. Currently there is nobody
really maintaining liblouisutdml so things are out of date.


2015-11-02 17:38 GMT+01:00 Arend Arends <mada73bg@xxxxxxxxxx>:
Hi Jake,

The readme.windows file describes how to build liblouisutdml.dll in Windows,
not file2brl.exe. There is no special description or makefile yet for
building file2brl.exe under Windows. So you are pretty much on your own at
the moment. There are other people who have tried it, but as far as a I know
without success.

Arend Arends

From: Jake Kyle
Sent: Monday, November 2, 2015 4:27 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Help building file2brl.exe

Hello,

I am new to the list and to Liblouis. I am not a programmer and am not
experienced at building programs on the command line. I am a braille
transcriber and I am hoping to try using file2brl.exe but I’m stuck at the
building/compiling stage.

I am using Windows and Visual Studio 2015 and the latest versions of
Liblouis and Liblouisutdml. I have followed all the instructions in the
README.windows file in the Liblouisutdml package. The one modification I
have found I had to do to get the final stage to work was this suggested by
Paul Wood (thank you Paul):
line 96 of config.h needs to be changed to:
#if (defined(_MSC_VER) && (_MSC_VER < 1900))
see here for post
//www.freelists.org/post/liblouis-liblouisxml/SV-Re-Prebuilt-Windows-binaries,4

I now have all the files and directories which I think I am supposed to get.

In the “tools” directory I have file2brl.c together with Makefile.am and
Makefile.in but I don’t know how to obtain file2brl.exe from this. If anyone
could help me I’d be very grateful. Forgive me if it is a basic question.

Many thanks,
Jake
Compass Braille, UK


Other related posts: