luajit-rocks | LuaJIT and luarocks in one location
kandi X-RAY | luajit-rocks Summary
kandi X-RAY | luajit-rocks Summary
LuaJIT and luarocks in one location
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of luajit-rocks
luajit-rocks Key Features
luajit-rocks Examples and Code Snippets
Community Discussions
Trending Discussions on luajit-rocks
QUESTION
I tried to install vcpkg on Windows 10. I followed the steps of the Quick Start section, but I get an error, when I try to run this command:
...ANSWER
Answered 2019-Aug-28 at 14:10Looks like it defaulted to an incorrect configuration. It just needed to be specified manually.
msys
is configured automatically. So first reverse its installation:
- uninstall
cmake
- uninstall
msys64
Then perform a clean install for Windows:
- run
bootstrap-vcpkg.bat
- run
vcpkg update
- run
vcpkg search sdl2
- should find something, probably
sdl2:x86-windows
orsdl2:x64-windows
, if it doesn't, it's a problem - run
vcpkg install sdl2:x86-windows
orvcpkg install sdl2:x64-windows
- same for
curl
QUESTION
I've been trying to install LuaJIT on Windows 10 for some time following the official guide, and I actually get to install it. For example, if I execute luajit
I get into the prompt. Also, luajit -v
returns the version of luajit (2.0.4). And I can also execute code with luajit -e
. However, whenever I try to save bytecode with luajit -b
, I get the following message:
luajit: unknown luaJIT command or jit.* modules not installed
I tried to make all sort of installations: using Cygwin, luajit-rocks, MinGW, ... However, no matter what I try, I always get the same result, and I have no clue of what to do.
Could you point me to some potential problems I might be overlooking?
I have on my system Lua 5.1 and Luarocks.
...ANSWER
Answered 2017-May-24 at 21:48Some extra LuaJIT features are implemented as separate Lua modules (e.g. jit.bcsave
for bytecode saving), and LuaJIT depends on package.path
to find those modules. The suggested install location for those modules is in the default package.path
, but if you override it via the LUA_PATH
environment variable, you have to make sure to include that location there. One easy way to do that is to put two consecutive semicolons into LUA_PATH
: Double semicolons are replaced by the compile-time default value of package.path
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install luajit-rocks
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page