ubuntu下安装smt solver z3

系统:Ubuntu

安装对象:Z3

Z3属于SMT Solver

安装z3之前需要安装python,python的安装可以看我的另一篇博客:https://blog.csdn.net/weixin_39408343/article/details/102771891

这个python安装教程中有我遇到的真实问题以及解决办法,供大家参考。

z3安装过程如下:

Choice 1. Building Z3 using make and GCC

git clone https://github.com/Z3Prover/z3.git
cd z3
python scripts/mk_make.py
cd build
make
sudo make install

Choice 2. Building Z3 using make and Clang

git clone https://github.com/Z3Prover/z3.git
cd z3
CXX=clang++ CC=clang python scripts/mk_make.py
cd build
make
sudo make install

Uninstall

cd z3/build
sudo make uninstall

在这里插入图片描述

参考:https://blog.csdn.net/weixin_39408343/article/details/102771823

如果遇到 z3 fatal error: variant: No such file or directory compilation terminated. 的问题,建议升级一下gcc,g++。
gcc升级链接.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值