如何为ARM Linux设备交叉构建luajit-5.1?(尝试构建LÖ;VE框架)

如何为ARM Linux设备交叉构建luajit-5.1?(尝试构建LÖ;VE框架),arm,love2d,luajit,cross-build,Arm,Love2d,Luajit,Cross Build,我正在尝试从Ubuntu 16.04为ARM Linux设备(Rockchip RK3066)交叉构建LÖVE() 正如文档所说,我在Ubuntu上安装了所有依赖项,并且能够构建它(作为测试,对于Ubuntu)。现在我要进行交叉构建 在构建之前,我必须运行./configure。到目前为止,我已经能够接受工具链的gcc编译器,但是当它查找依赖项时,我得到以下错误: checking for luajit5.1... no checking for luajit51... no checking

我正在尝试从Ubuntu 16.04为ARM Linux设备(Rockchip RK3066)交叉构建LÖVE()

正如文档所说,我在Ubuntu上安装了所有依赖项,并且能够构建它(作为测试,对于Ubuntu)。现在我要进行交叉构建

在构建之前,我必须运行./configure。到目前为止,我已经能够接受工具链的gcc编译器,但是当它查找依赖项时,我得到以下错误:

checking for luajit5.1... no
checking for luajit51... no
checking for luajit... no
configure: error: Package requirements (luajit) were not met:

No package 'luajit' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables lua_CFLAGS
and lua_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
这可以通过为设备交叉构建luajit并将其添加到工具链二进制文件来解决吗,或者我可以尝试让./configure脚本查找我在Ubuntu中安装的luajit吗

如果是后者,有人能告诉我正确的方向吗?我已经打开了20页类似的错误信息,但没有一页有有效的答案


提前非常感谢。

stackoverflow仍然拥有该网站,如果你在这里没有得到满意的答案,也许可以尝试一下。我们会尝试的。非常感谢。