I have no clue when it comes to creating makefiles - I'm trying to create a luafilesystem on Windows 7 x86 for use with Lua for Windows. I studied the internet for study guides, but I just can't figure it out. I got to running NMAKE on the developer's command line, but received the following error:
C:\Users\Me\Desktop\luafilesystem-master\luafilesystem-master>nmake -f Makefile.win
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Fosrc\lfs.obj /MD /O2 /I"c:\lua5.1\include" src\lfs.c Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30723 for x86 Copyright (C) Microsoft Corporation. All rights reserved. Copyright (C) Microsoft Corporation. All rights reserved.
lfs.c
src\lfs.c(63) : fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
I'm not sure what I'm doing wrong. There were no lua.h in the set of files downloaded directly from the official LuaFileSystem repository.
All I want to do is install lfs for use in lua. If you cannot understand what I am doing wrong, but maybe find out an easier way, please share. Hope I have provided enough information. Thanks.
source share