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

  • From: "Norbert Markus" <hamilfonz@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Sun, 19 Mar 2017 05:29:19 +0100

Hi Lars,

Unfortunately, using forward slashes makes no difference. The funny thing 
however is that with backslashes or forward slashes, the program does find the 
referred files despite the error message. en-us-g2.ctb must be opened by the 
program, otherwise how could it find it out that en-us-g1.ctb is included (a 
bunch of error messages complain about the contents of en-us-g1.ctb).
And the most interesting symptom is that the 64-bit version (although for 
Liblouis 2.6) does its job as expected, while the 32-bit Liblouis 3.1.0 
produces these errors.

Best Regards, Norbert.


From: LarsBjørndal 
Sent: Saturday, March 18, 2017 7:56 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx 
Subject: [liblouis-liblouisxml] Re: SV: Re: Build questions


[Norbert Markus]

[...]

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

What happens if you replace backslash with forward slash "/" in the
path string?

[...]


Lars

From: [1]Christian Egli
Sent: Tuesday, March 14, 2017 9:17 PM
To: [2]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,  [3](liblouis-3.1.0-mingw32msvc.zip,
available at [4]http://liblouis.org/downloads/ and also
[5]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

References

1. mailto:christian.egli@xxxxxx
2. mailto:liblouis-liblouisxml@xxxxxxxxxxxxx
3. 
https://github.com/liblouis/liblouis/releases/download/v3.1.0/liblouis-mingw32msvc.zip
4. http://liblouis.org/downloads/
5. https://github.com/liblouis/liblouis/releases/tag/v3.1.0

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

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: