记录一下mac mojave 安装 keystone-engine 报错问题解决

在新电脑上安装Keystone-Engine时遇到报错,问题在于xcode-select不支持i386。解决方法是下载并安装macOS 10.13.3的xcode-select工具,以及选择合适的xcode版本。通过这些步骤,可以解决编译问题。
摘要由CSDN通过智能技术生成

前言

买了新电脑,在搭建环境安装keystone-engine时出现报错,之前在13.3从来没有遇到过,有点不知所措,不过有问题总得要解决的,虽然我直接将旧电脑的IDA搬运了过来,keypatch勉强能用,但是总感觉不舒服,经过一番google后,找到了问题的所在。

报错信息如下:


    CMake Error at /usr/local/Cellar/cmake/3.13.2/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (message):
      The C compiler

        "/Library/Developer/CommandLineTools/usr/bin/cc"

      is not able to compile a simple test program.

      It fails with the following output:

        Change Dir: /tmp/pip-install-qE2Xpo/keystone-engine/src/build/CMakeFiles/CMakeTmp

        Run Build Command:"/usr/bin/make" "cmTC_ad9c7/fast"
        /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ad9c7.dir/build.make CMakeFiles/cmTC_ad9c7.dir/build
        Building C object CMakeFiles/cmTC_ad9c7.dir/testCCompiler.c.o
        /Library/Developer/CommandLineTools/usr/bin/cc   -arch 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值