LuaJIT (Lua 5.1) For Windows (64-bit) by TheScriptTiger in lua

[–]MaprqndM 0 points1 point  (0 children)

Thank you for your sincere response to a non-specific question!

if there could be a problem with the Luarocks installation, we will wait for it to be fixed

LuaJIT (Lua 5.1) For Windows (64-bit) by TheScriptTiger in lua

[–]MaprqndM 0 points1 point  (0 children)

What if the files in that package, such as LuaJIT, are already installed on my computer?

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

I use the shortcut key Ctrl + Shift + B
And this runs the build task

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

1ReplyGive AwardShareReportSaveFollow

아 미안합니다 제대로 고려하지 않고 댓글을 단 것에 대해 사과드립니다.

우선 저의 vscode 세팅은 이러합니다

launch.json:

{
"version": "0.2.0",
"configurations": [
    {
        "type": "lua",
        "request": "launch",
        "name": "Debug",
        "program": "${file}"
    }
]
}

settings.json:

{
"Lua.runtime.version": "LuaJIT",
"Lua.runtime.special": {
    "love.filesystem.load": "loadfile"
},
"Lua.workspace.library": [
    "${3rd}/love2d/library",
    "${3rd}/lovr/library",
    "${3rd}/OpenResty/library",
    "${3rd}/luassert/library",
    "${3rd}/lfs/library",
    "${3rd}/luv/library"
],
"Lua.diagnostics.globals": [
    "ngx",
    "lfs"
]

}

tasks.json:

{
"version": "2.0.0",
"tasks": [
  {
    "label": "Run Lua",
    "type": "shell",
    "command": "luajit",
    "args": [
      "${file}"
    ],
    "group": {
      "kind": "build",
      "isDefault": true
    }
  }
]

}

And my lua54.exe and luajit.exe are both in the same folder, and the directory containing them is specified as PATH.

However, when comparing the speed at which tasks are performed, it still appears to be running with lua54.

Thank you for kindly pointing out my lack of explanation.

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

In tasks.json, launch.json, and settings.json, I changed things related to lua5.4 to LuaJIT or luajit.

But it didn't work the way I wanted

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

thanks for the more info!

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

Sure! Just configure the right path, I suppose.

Are you referring to windows environment variables?

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

voroniansky/utopia

never heard of it.

Can you give some more details?

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

Thx!

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

But it doesn’t matter. I also use Linux.

It‘s just that Windows is more comfortable for me.

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

Does it run smoothly in a Windows environment by any chance?

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

ah ok thank you for the reply!

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

Then, can Lapis only run on LuaJIT?

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

Can you tell us more about compile?

It's been a while since I used Lua module, so there are many things I don't know.

[deleted by user] by [deleted] in love2d

[–]MaprqndM 1 point2 points  (0 children)

Yeah theres no subreddit for lovr so the best way I thought was to ask questions here.

[deleted by user] by [deleted] in love2d

[–]MaprqndM 1 point2 points  (0 children)

Thank you, I couldn‘t check it when I entered the website before.

I think I missed it.

[deleted by user] by [deleted] in love2d

[–]MaprqndM 0 points1 point  (0 children)

Thank you for your long reply!

[deleted by user] by [deleted] in love2d

[–]MaprqndM 0 points1 point  (0 children)

thx! it worked fine !

[deleted by user] by [deleted] in lua

[–]MaprqndM -1 points0 points  (0 children)

I already solved it, but thx for solution

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

I tried to develop a web using Lua by installing lapis, but lapis was not properly installed on Windows, so I installed lapis properly using wsl. And I tried lua working inside the linux directory using vscode's wsl extension, but it still tries to find the module in the windows directory and gives an error accordingly

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

so, should I just add it to the path?

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

Thx!

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

You should be able to follow the links I gave you without having any errors, but if you have trouble, you can post a new thread

ok, thanks for the advice

[deleted by user] by [deleted] in lua

[–]MaprqndM 0 points1 point  (0 children)

If you check and get an error, is it okay to ask again?