Closed pablomayobre closed 7 years ago
Most warnings you found were because NFD must be compiled with CRT_SECURE_NO_WARNINGS
which I put in the msvcbuild.bat
file under NFD_CFLAGS
.
Another warning were the open paths for the open
, openMany
and save
functions which don't provide a default
case in their switch
. Even if this is not needed I added it so that the compiler won't complain.
Great work on this, I was gonna do the same thing for this library but I found you had already done it so thank you really much!
Run
msvcbuild.bat
from the Developer Command Prompt in order to build on WindowsTested on Windows 10 VS2015 Community Edition
Provisory fix for #2 but a Makefile may be better and LuaRocks support would be great. Even then you can get the basic idea from this bat file
A good alternative to this build script would be a
Makefile.win
that uses Nmake. Adding this to LuaRocks would be straightforward too