Skip to content
charles edited this page May 4, 2020 · 5 revisions

1.fetch Z3

git clone https://github.com/Z3Prover/z3.git

1.1 build z3 dynamic lib with auto-script

cd z3
python scripts/mk_make.py
cd build
make
sudo make install

hint: try to make sure you have make install z3 link to

/usr/bin

you don't have to follow the <example.cpp> because the developer has finish the cmake in the project we should use it as the third dynamic lib

1.2 compile your own cxx file manually.

g++ file.cpp -o file lz3

useful links: