[liblouis-liblouisxml] Re: SV: Re: Build questions

  • From: "Norbert Markus" <hamilfonz@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Sat, 18 Mar 2017 16:33:32 +0100

Dear Christian,

I am encountering a strange problem.
I have downloaded and unpacked liblouis-3.1.0-mingw32msvc.zip. Just to note, 
this is a Windows 7 64-bit machine.
The strange thing is that the pre-built .exe files appear to work, for instance 
lou_translate.exe launches but then it appears not to find the specified table 
file(s) even if I provide an absolute path in the invocation:
lou_translate --forward c:\liblouis31\tables\en-us-g2.ctb <test.txt 

testresult.txt 2>testerrors.txt

After running this command, testresult.txt is empty, and testerrors.txt 
contains a long list of complaints about missing rules and files but the files 
are there in the tables folder.
I attach this testerrors.txt file, hope it is allowed to send attachments to 
the list. Otherwise I can copy the errors into a message body.
The "funny?" thing is that the 64-bit Liblouis 2.6 version unpacked from a 
similar zip archive just works fine.

What do You think what can be the problem?

Can anyone provide a link to a recent 64-bit prebuilt Liblouis package?

Thanks a lot in advance!

Best Regards, Norbert.





From: Christian Egli 
Sent: Tuesday, March 14, 2017 9:17 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx 
Subject: [liblouis-liblouisxml] Re: SV: Re: Build questions


Hi Markus


On 03/14/2017 06:41 PM, Norbert Markus wrote:

  Hi Anders,

  The reason is that actually I'll need to use liblouisutdml.dll. I was unable 
to find a pre-built dll version for Windows. If You are aware of any site from 
which a recent liblouisutdml.dll can be downloaded, this would save me from 
building it manually.
  But if this is a necessary step, it seems, liblouis.lib is required for 
building liblouisutdml.dll, and I could not find liblouis.lib for download. 
Thus I had to build it manually to obtain the lib file.
The windows build of liblouis,  (liblouis-3.1.0-mingw32msvc.zip, available at 
http://liblouis.org/downloads/ and also ;
https://github.com/liblouis/liblouis/releases/tag/v3.1.0) should contain 
liblouis.dll, liblouis.def and all the header files. This was built using mingw 
and should be updated with every release.

Hope that helps
Christian




c:\liblouis31\tables\en-us-g1.ctb:38: error: opcode 'capsign' not defined.
c:\liblouis31\tables\en-us-g1.ctb:41: error: opcode 'firstwordital' not defined.
c:\liblouis31\tables\en-us-g1.ctb:42: error: opcode 'lastworditalbefore' not 
defined.
c:\liblouis31\tables\en-us-g1.ctb:43: error: opcode 'lenitalphrase' not defined.
c:\liblouis31\tables\en-us-g1.ctb:44: error: opcode 'firstletterital' not 
defined.
c:\liblouis31\tables\en-us-g1.ctb:45: error: opcode 'lastletterital' not 
defined.
c:\liblouis31\tables\en-us-g1.ctb:46: error: opcode 'singleletterital' not 
defined.
c:\liblouis31\tables\en-us-g1.ctb:47: error: opcode 'firstwordbold' not defined.
c:\liblouis31\tables\en-us-g1.ctb:48: error: opcode 'lastwordboldbefore' not 
defined.
c:\liblouis31\tables\en-us-g1.ctb:49: error: opcode 'lenboldphrase' not defined.
c:\liblouis31\tables\en-us-g1.ctb:173: error: nofor or noback must be specified.
c:\liblouis31\tables\en-us-g1.ctb:175: error: nofor or noback must be specified.
c:\liblouis31\tables\en-us-g1.ctb:176: error: nofor or noback must be specified.
c:\liblouis31\tables\en-us-g2.ctb:34: error: opcode 'capsign' not defined.
c:\liblouis31\tables\en-us-g2.ctb:34: error: Not a braille indicator opcode.
c:\liblouis31\tables\en-us-g2.ctb:34: error: character '\x000b' should be 
defined at this point but is not
c:\liblouis31\tables\en-us-g2.ctb:1077: error: nofor or noback must be 
specified.
c:\liblouis31\tables\en-us-g2.ctb:1078: error: nofor or noback must be 
specified.
c:\liblouis31\tables\en-us-g2.ctb:1079: error: nofor or noback must be 
specified.
c:\liblouis31\tables\en-us-g2.ctb:1080: error: nofor or noback must be 
specified.
c:\liblouis31\tables\en-us-g2.ctb:1083: error: nofor or noback must be 
specified.
c:\liblouis31\tables\en-us-g2.ctb:1084: error: nofor or noback must be 
specified.
c:\liblouis31\tables\en-us-g2.ctb:1085: error: nofor or noback must be 
specified.
23 errors found.
c:\liblouis31\tables\en-us-g2.ctb could not be found

Other related posts: