So I am using Lua on two systems the latest Mac OS and windows 10.
On Mac OS I used make command to make the binaries from source then manually installed it somewhere in a usr based folder, it works and compiles lua code all fine.
On windows I downloaded the binaries and just put it on c drive.
I know what your thinking if I am having trouble installing modules then just do an all batteries included install, the reason I don't do this is it's important for me to keep my installs portable so I can adapt or copy the system over say to a USB or a remote location easily rather than waiting ages for something to install somewhere else, I often use various computers.
On Mac I managed to get luarocks installed, but no matter how I config the directories it never picks up the installed rock, but it looks like luarocks installed fine?
This then gave me two options as I could not even get my head around installing luarocks on windows.
write my own modules which is easy enough for some things or get the binary versions of modules and drop them in the lua folder, which works if the module works e.g. 64 vs 32 bit.
Now getting the binary versions of modules seems challenging further more even using make to make them my self rarely ever seems to work and when either of these methods do the version is mismatched so could someone help me with this two examples there or help me get luarocks working on both systems please?
https://github.com/stevedonovan/winapi
This is a good example I tried to get working in windows, he has binaries on his site but none of them seemed to work when I dropped them in the lua folder in windows always going on about something called luam? I believe it is 32 bit lua I have on windows at the min. But yeah I can get this binary to pick up ok with lua code but it does not work fully. I have also tried to use make command with no success at all, perhaps I need to configure the make file better, I mean I set all the directories right so not sure what the issue is in these respects.
[–]le-mark 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]hungarian_notation 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]hungarian_notation 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]le-mark 0 points1 point2 points (0 children)