[liblouis-liblouisxml] Re: Help needed building Liblouis with MinGW

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 29 May 2015 15:24:23 +0200

Hi Bue,

You're not using both Cygwin and MinGW are you? I thought it was a bad idea to
mix the two.

I have managed to build liblouis on Cygwin and run the tests. I had to make a
small modification to the Python bindings and the test runner. See issues
https://github.com/liblouis/liblouis/issues/55 and
https://github.com/liblouis/liblouis/issues/56.

Note that the binaries built with Cygwin can not be "exported" outside of the
Cygwin environment, so this is only really useful for developing.

I'd like to help you getting on the right track, but I'm not sure how. I could
give you step by step instructions for setting up your environment like I did?


Bert



Bue Vester-Andersen writes:

Hi,

Can anybody help me get started with building Liblouis under Cygwin and
MinGW? I have some contributions that I would like to make, but the VS build
does not work with Python or the the test tools for Liblouis built under
MinGW. I suspect there is an issue with calling convensions that differ
between the compilers. So I wanted to use MinGW to make things easier.

When I run the configure script under Cygwin, I get the following error
messages:

ls -t appears to fail. Make sure there is not a broken alias in your
environment.
Newly created file is older than distributed files. Check your system clock.

My system clock works perfectly well. So I suspect there is an issue wth the
date and time format.
the ls -t command also gives reasonable output when I type it manually at
the Cygwin command prompt.

I do have experience with Windows and Visual Studio, but a Linux like
environment like Cygwin and MinGW is somewhat new to me.

I would be very thankful if somebody could put me on the right track.

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

Other related posts: