Dear Christian and All,
Here are my questions:
- I have done the things listed below on a Windows 7 64-bit system with MS
Visual Studio Community 2015 installed.
- I've visited the download page of the liblouis.org site, and in the
"up-to-date versions" section, clicked
https://github.com/liblouis/liblouis.git. There I clicked "Download zip" and ;
unpacked the archive into a folder on a dos-compatible path.
- Opened a Developer Command Prompt for VS 2015 offered in Visual Studio's
start menu folder and changed to the windows subfolder of the recently unpacked
zip: C:\liblouis31\windows.
- Then I issued the command: nmake /f Makefile.nmake
- It seems to have built liblouis.dll and liblouis.lib but produced a bunch of
warnings along the way. The output is as follows:
cl.exe /nologo /O2 /W3 /c -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
/Iinclude /DWIDECHAR_TYPE="unsigned short int" /DUNICODEBITS=16
..\liblouis\compileTranslationTable.c
compileTranslationTable.c
..\liblouis\compileTranslationTable.c(4756): warning C4267: '=': conversion
from 'size_t' to 'short', possible loss of data
cl.exe /nologo /O2 /W3 /c -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
/Iinclude /DWIDECHAR_TYPE="unsigned short int" /DUNICODEBITS=16
..\liblouis\lou_translateString.c
lou_translateString.c
cl.exe /nologo /O2 /W3 /c -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
/Iinclude /DWIDECHAR_TYPE="unsigned short int" /DUNICODEBITS=16
..\liblouis\lou_backTranslateString.c
lou_backTranslateString.c
cl.exe /nologo /O2 /W3 /c -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
/Iinclude /DWIDECHAR_TYPE="unsigned short int" /DUNICODEBITS=16
..\liblouis\wrappers.c
wrappers.c
cl.exe /nologo /O2 /W3 /c -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
/Iinclude /DWIDECHAR_TYPE="unsigned short int" /DUNICODEBITS=16
..\liblouis\logging.c
logging.c
lib /nologo compileTranslationTable.obj lou_translateString.obj
lou_backTranslateString.obj wrappers.obj logging.obj /out:liblouis.lib
link /dll /nologo /DEF:liblouis.def /OUT:liblouis.dll
compileTranslationTable.obj lou_translateString.obj lou_backTranslateString.obj
wrappers.obj logging.obj
Creating library liblouis.lib and object liblouis.exp
My question is whether these warnings indicate something inappropriate that
needs to be fixed or are normal and known to You and can be ignored?
Will they in any way affect the performance of liblouis.dll or
liblouisutdml.dll based on this build of liblouis.dll?
Thanks a lot for Your help in advance.
Best Regards, Norbert.
From: Christian Egli
Sent: Monday, March 13, 2017 10:34 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: Build questions
On 03/13/2017 07:20 AM, Norbert Markus wrote:
Is it allowed to post here questions about building liblouis.dll and
liblouisutdml.dll in Windows?