[英]Program cannot be run in Linux
I have written a C++ game. 我已经写了一个C ++游戏。
It works perfectly on a distro where I built it (openSUSE), but on another (Lubuntu) it can't run. 它在我构建它的发行版(openSUSE)上完美运行,但是在另一个(Lubuntu)上却无法运行。 I use this launcher:
我使用这个启动器:
chmod +x Trigonium
export LD_LIBRARY_PATH=""
./Trigonium
And it says: ./Launcher.sh: line 3: ./Trigonium: cannot open binary file 它说:./Launcher.sh:第3行:./Trigonium:无法打开二进制文件
I get the same error when I try to run directly. 当我尝试直接运行时,出现相同的错误。
Is it the same binary on both systems? 两个系统上是否都使用相同的二进制文件?
Is one system 32-bit and the other 64-bit? 一个系统是32位,另一个是64位吗? Check with
uname -a
as Gowtham suggests. 按照Gowtham的建议检查
uname -a
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.