Ich möchte eine Bibliothek über LuaRocks installieren, um auf Funktionen von dlls zuzugreifen. Leider habe ich keine Binärdateien gefunden, daher dachte ich, dass ich eine FFI-Bibliothek auf meinem Computer kompilieren muss. Nach einer langen Zeit des Googlens fand ich die Alien-Bibliothek, also wollte ich sie über den Befehl luarocks install alien
installieren. Dann erhielt ich eine Nachricht:LuaRocks Installation von Alien
Installing https://luarocks.org/alien-0.7.1-2.src.rock
Error: Could not find library file for FFI
No file ffi.lib in c:/external/lib
No file ffi.dll in c:/external/lib
No file libffi.dll in c:/external/lib
You may have to install FFI in your system and/or pass FFI_DIR or FFI_LIBDIR to
the luarocks command.
Example: luarocks install alien FFI_DIR=/usr/local
Und es hat nicht Bibliothek installieren. Ich würde wissen, was ich falsch mache, und meine Frage ist, wie diese Bibliothek zu installieren/einige DLL-DLL-Binärdateien zu bekommen.