[liblouis-liblouisxml] Re: Errors in liblouis.h when compiling small test program under Windows

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 9 Mar 2015 05:37:20 -0500

We need someone who will take over responsibility for the native Windows 
port, and another person who will assume responsibility for the MacOs 
port. The native Windows port was not intended for anything except 
compiling a dll for liblouis. In Greg's case, a programmer would have to 
be sitting at his computer to know what is wrong. Of course, this could 
also be done via remote access.

John

On Mon, Mar 09, 2015 at 10:49:10AM +0100, Christian Egli wrote:
> Hi Bue
> 
> On 03/08/2015 09:25 PM, Bue Vester-Andersen wrote:
> >I have made the smallest possible test program in C to be compiled with
> >VS2008 on Windows. The program looks as follows:
> >
> >#include <stdio.h>
> >#include <stdlib.h>
> >#include "liblouis.h"
> >
> >int main() {
> >printf ("%s\n", lou_version());
> >return 0;
> >}
> >
> >Before i go bug hunting in windows\include\liblouis.h, have I overlooked
> >something completely basic?
> 
> Well your test program looks ok afaik.
> 
> >Except, of course, for the fact that I should be
> >running a real compiler on a real operating system ETC. ETC.
> 
> Let's not get too carried away. It's not that I discourage the use
> of other compilers, it's just that I have no experience with them
> and I have my reservations about how the files in the
> windows\include are created/kept up-to-date.
> 
> >BTW., the config.h in the same folder still states that the version is
> >2.5.2.
> 
> I know. This is a problem of how the files in windows\include are updated.
> 
> >When I compile the program with the default options, I get the following
> >errors:
> >
> >test_liblouis.c
> >d:\programmering\arcobraille\liblouis.h(76) : error C2143: syntax error :
> >missing ')' before '*'
> >d:\programmering\arcobraille\liblouis.h(76) : error C2143: syntax error :
> >missing '{' before '*'
> >d:\programmering\arcobraille\liblouis.h(77) : error C2059: syntax error :
> >'type'
> >... ETC ETC
> 
> Can you post the file programmering\arcobraille\liblouis.h?
> 
> HTH
> Christian
> 
> -- 
> Christian Egli
> Swiss Library for the Blind, Visually Impaired and Print Disabled
> Grubenstrasse 12, CH-8045 Zürich, Switzerland
> 
> 
> -----
> Neue Version SBS-Online-Bibliothek: Mit wenigen Klicks zum Buch unter 
> http://online.sbs.ch
> For a description of the software, to download it and links to
> project pages go to http://liblouis.org

-- 
My websites:
GodTouches Digital Ministry, Inc. http://www.godtouches.org
Abilitiessoft, Inc. http://www.abilitiessoft.org
Location: Madison, Wisconsin, USA
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: