gpt4 book ai didi

ios - 在 linux 上为 theos 安装 ldid

转载 作者:太空宇宙 更新时间:2023-11-04 11:02:46 29 4
gpt4 key购买 nike

我对 linux 及其 shell 完全陌生。我正在尝试按照 http://iphonedevwiki.net/index.php/Theos/Getting_Started#NIC_Example 上的教程进行操作安装 Theos 并部署应用程序,但是我在执行第 4 步时遇到问题

下载ldid到$THEOS/bin:

git clone git://git.saurik.com/ldid.git
cd ldid
git submodule update --init
./make.sh
cp -f ./ldid $THEOS/bin/ldid

第一个命令运行,我得到以下输出

Cloning into 'ldid'...
remote: Counting objects: 175, done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 175 (delta 93), reused 102 (delta 56)
Receiving objects: 100% (175/175), 50.31 KiB | 0 bytes/s, done.
Resolving deltas: 100% (93/93), done.
Checking connectivity... done.

下一个命令 cd ldid执行,我现在在里面 /home/MYNAME/ldid我运行下一个命令,但没有输出。

最后这是我怀疑错误的地方。我跑 ./make.sh我得到了

+ g++ -o ldid ldid.cpp -I. -x c lookup2.c sha1.c
./make.sh: line 19: g++: command not found

我应该提到我在运行 Fedora 20-1 的虚拟机上。

按照建议我安装了 gcc & g++ 运行了 ./make.sh仍然失败了

+ g++ -arch i386 -arch x86_64 -o ldid ldid.cpp -I. -x c lookup2.c sha1.c
g++: error: i386: No such file or directory
g++: error: x86_64: No such file or directory
g++: error: unrecognized command line option ‘-arch’
g++: error: unrecognized command line option ‘-arch’

最佳答案

git clone https://github.com/daeken/ldid.gitcd ./ldid./make.sh

关于ios - 在 linux 上为 theos 安装 ldid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26330687/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com