3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
z3/examples/c
Christoph M. Wintersteiger 1a6af4385e Fixed C example
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 15:01:50 +00:00
..
README C examples 2012-10-28 11:56:27 -07:00
test_capi.c Fixed C example 2015-01-21 15:01:50 +00:00

Small example using the c++ bindings.
To build the example execute
   make examples
in the build directory.

This command will create the executable c_example.
On Windows, you can just execute it.
On OSX and Linux, you must install z3 first using 
   sudo make install
OR update LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (OSX) with the build directory. You need that to be able to find the Z3 shared library.