我试图在64位的Windows7上编译lupa,并且我已经安装了所有的依赖项(包括LuaJIT2和lua5.2)。但是当我尝试安装时,我得到了一个错误:
RuntimeError: Neither LuaJIT2 nor Lua 5.1 were found, please install the library and its development packages, or put a local build into the lupa main directory (or pass '--no-luajit' option)
这也让我困惑,因为它检查了lua5.2和5.1,但抱怨我没有5.1。在
Checking for installed lua5.2 library using pkg-config
Did not find lua5.2 using pkg-config: pkg-config cannot find an installed lua5.2Checking for installed lua-5.2 library using pkg-config
Did not find lua-5.2 using pkg-config: pkg-config cannot find an installed lua-5 .2Checking for installed lua library using pkg-config
Did not find lua using pkg-config: pkg-config cannot find an installed luaChecking for installed lua5.1 library using pkg-config
Did not find lua5.1 using pkg-config: pkg-config cannot find an installed lua5.1Checking for installed lua-5.1 library using pkg-config
Did not find lua-5.1 using pkg-config: pkg-config cannot find an installed lua-5 .1Checking for installed lua library using pkg-config
Did not find lua using pkg-config: pkg-config cannot find an installed lua
我很确定这是pkg配置的问题。我看了看里面设置.py它使用pkg config来测试包是否存在,并获取版本。直接从控制台运行pkg配置时找不到任何包。当我寻找一个(在本例中是LuaJIT2)时,我得到的是:
Package luajit was not found in the pkg-config search path.
Perhaps you should add the directory containing `luajit.pc' to the PKG_CONFIG_PATH environment variable
No package 'luajit' found
没有名为PG_CONFIG_PATH
的环境变量,手动添加它不起作用。
请帮帮我,我被难住了。如果你需要更多信息,请告诉我。在
您需要将LuaJIT包解压到LUPA的基本目录中。在
如果lupa位于“D:\project\lupa1.1”,则需要将LuaJIT放入该目录,如“D:\project\lupa1.1\LuaJIT-2.0.3”。在
试试看,祝你好运!在
相关问题 更多 >
编程相关推荐