Funny enough, this whole adventure started off trying to figure out how to install luarocks... The all-in-one installer (who's install options make my head spin) makes mention of MinGW, I can't tell if it comes bundled with luarocks or if I need to install it separately, which led me to the MinGW Download page, which suggested MSYS2 as a source for MinGW... you have to understand how lost I am at this point lol.
The truth is I *would* like to get to the point where I can compile things from source on windows, but the pieces just haven't come together in my head to fully understand what tools I need and how to use those tools once I have them.
So, at this point I guess I try to install luarocks, and hope all those install settings default to something that works.
Thanks for your patience and help!
Is luasec a thing?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Is luasec a thing?
Ah yes I see that, since the subject has already been diverted previously (:3) I will allow myself to give you some information.SelfDotX wrote: ↑Wed Mar 15, 2023 1:53 am Funny enough, this whole adventure started off trying to figure out how to install luarocks... The all-in-one installer (who's install options make my head spin) makes mention of MinGW, I can't tell if it comes bundled with luarocks or if I need to install it separately, which led me to the MinGW Download page, which suggested MSYS2 as a source for MinGW... you have to understand how lost I am at this point lol.
The truth is I *would* like to get to the point where I can compile things from source on windows, but the pieces just haven't come together in my head to fully understand what tools I need and how to use those tools once I have them.
So, at this point I guess I try to install luarocks, and hope all those install settings default to something that works.
Thanks for your patience and help!
MSYS is in fact roughly a Unix-Like environment for Windows which offers among other things a semblance of Bash and a package manager which is pacman (which is also used in Arch Linux).
You can with MSYS get MinGW which is in fact the GNU tools for Windows (GCC, GDB, Make, etc).
But it's true that I had forgotten the fact that you might need a compiler with LuaRocks but luckily as MSYS has a package manager you can also get LuaRocks on Windows with MSYS!
Here is the page to install MSYS and MinGW, everything is directly explained there:
https://www.msys2.org/
And the pages of Lua 5.1 and LuaRocks compiled with MinGW, usable on Windows and which can be obtained on MSYS thanks to Pacman (the sentence is long, it's to be sure that you understood ):
https://packages.msys2.org/package/ming ... 6_64-lua51
https://packages.msys2.org/package/ming ... po=mingw64
You can also recover the libraries installed via LuaRocks in their directory and copy them into your Love project if that is the goal, nothing prevents you from doing so
And really if you need help do not hesitate to open another topic, good luck!
Re: Is luasec a thing?
I thought this was a question of downloading the binaries from the Löve build (you need a GitHub account for that AFAIK) and loading them from the Lua side without needing to compile anything yourself.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Is luasec a thing?
Yeah... if you want a standalone dll of lua-https which works with love 11.x, you can get one here: https://github.com/love2d/lua-https/act ... nch%3Amain (click on the latest build and scroll down for downloads).
if you want a recent love 12 build you can get one here: https://github.com/love2d/love/actions? ... evelopment
In both cases you don't need to compile anything yourself, as long as you're using one of the platforms builds are created for.
There's some brief usage documentation for lua-https on the wiki: lua-https.
if you want a recent love 12 build you can get one here: https://github.com/love2d/love/actions? ... evelopment
In both cases you don't need to compile anything yourself, as long as you're using one of the platforms builds are created for.
There's some brief usage documentation for lua-https on the wiki: lua-https.
-
- Prole
- Posts: 3
- Joined: Fri Oct 21, 2022 1:17 am
Re: Is luasec a thing?
Hi folks, Apologies if this was covered in the previous conversation, I didn't read it all, there is a lot,
I realize nothing is exposed at the moment, but is there enough code in the new https module to encrypt a file on disk?
I realize nothing is exposed at the moment, but is there enough code in the new https module to encrypt a file on disk?
Who is online
Users browsing this forum: Bing [Bot] and 4 guests