Comments (5)
@Tieske, I couldn't solve it myself. Ended up using Lua For Windows which has it already https://github.com/rjpcomputing/luaforwindows
from luafilesystem.
luabinaries has a folder for Static windows libraries:
https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/
Those zip files contain lua53.lib. As described on #22, edit your config to point to that lib file.
You need the right one for your version of Visual Studio. See the "Windows Libraries Downloads" section of that page for more info.
from luafilesystem.
How did you build your lua binaries? Seems the microsoft toolchain is used while building lfs, whereas the Lua binaries seem to have been build with MinGW or other gcc toolchains.
from luafilesystem.
whoops, only now seeing this is a very old issue, got triggered by the previous comment.
@soapdog did you fix your issue? Can you post your resolution and close this issue if so?
from luafilesystem.
I came across this error on Windows when, in the Luarocks configuration, both CC
and LD
were set to cl
. I fixed it by keeping CC
as cl
, and changing LD
to link
.
from luafilesystem.
Related Issues (20)
- Fatal Error - /usr/include/features.h:461:12: fatal error: sys/cdefs.h: No such file or directory HOT 2
- lfs.chdir Changes current working directory to volume without end slash wont work
- lfs.link (symlink, new[, symlink]) always create a symbolic link
- Why is luarocks saying : Error: unknown option '-e' when installing luacheck? HOT 4
- load on windows fails HOT 2
- Upload new dev-rockspec to LuaRocks.org HOT 4
- Update homepage link on this GitHub project HOT 1
- performance in windows of lfs.attributes inside lfs.dir loop
- lfs.link unsupported on windows even in developper mode HOT 1
- keep got warning message with openresty
- Function lfs.mkdir() is not idempotent and hence not thread safe
- error when retrieve symlinkatrributes at directory symlink HOT 1
- Copying/moving files HOT 5
- Documentation site 404 error? HOT 1
- Update homepage HOT 5
- error while installing HOT 3
- missing prototypes warnings when building on windows using msys2
- Error when installing on windows via luarocks HOT 3
- Does not compile in Windows in Unicode (WCHAR) mode
- pl.Path.isdir doesn't work properly if the path prefix start by "~" HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luafilesystem.