[liblouis-liblouisxml] Building liblouisutdml.dll from the Mercurial repository

  • From: "Vic Beckley" <vic.beckley3@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 3 Jan 2012 13:41:50 -0500

Hello,

I am trying to build the liblouisutdml.dll file from the current Mercurial
repository. I run the command nmake /f Makefile.nmake and get the below
errors. My setup worked on liblouisutdml 2.0.2. Is there something different
that I need to do to compile from the Mercurial files?

C:\liblouisutdml\windows>nmake /f Makefile.nmake

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        nmake /nologo /f Makefile.gen
        cl.exe /nologo /O2 /W1 /c /Ic:\liblouis-2.4.0\liblouis
/Ic:\liblouis-2.4
.0\windows\include /Iinclude /Ic:\libxml2-2.7.2\include
/DWIDECHAR_TYPE="unsigne
d short int" ..\liblouisutdml\transcriber.c
transcriber.c
..\liblouisutdml\transcriber.c(881) : warning C4098: 'insert_text' : 'void'
func
tion returning a value
..\liblouisutdml\transcriber.c(3694) : warning C4133: 'function' :
incompatible
types - from 'char *' to 'unsigned short *'
..\liblouisutdml\transcriber.c(4157) : warning C4090: '=' : different
'const' qu
alifiers
..\liblouisutdml\transcriber.c(4320) : error C2275: 'PageStatus' : illegal
use o
f this type as an expression
        ..\liblouisutdml\transcriber.c(3929) : see declaration of
'PageStatus'
..\liblouisutdml\transcriber.c(4320) : error C2146: syntax error : missing
';' b
efore identifier 'pageStatus'
..\liblouisutdml\transcriber.c(4320) : error C2065: 'pageStatus' :
undeclared id
entifier
..\liblouisutdml\transcriber.c(4323) : error C2065: 'pageStatus' :
undeclared id
entifier
..\liblouisutdml\transcriber.c(4335) : error C2065: 'pageStatus' :
undeclared id
entifier
..\liblouisutdml\transcriber.c(4350) : error C2065: 'pageStatus' :
undeclared id
entifier
..\liblouisutdml\transcriber.c(4368) : error C2065: 'pageStatus' :
undeclared id
entifier
..\liblouisutdml\transcriber.c(4369) : error C2065: 'pageStatus' :
undeclared id
entifier
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\Bin
\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\Bin
\nmake.EXE"' : return code '0x2'
Stop.

C:\liblouisutdml\windows>

What might I be doing wrong?


Best regards from Ohio, U.S.A.,

Vic
E-mail: vic.beckley3@xxxxxxxxx


For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: