3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
z3/examples/c
Nikolaj Bjorner 09ea370ea3 update C-example that fails to not use longjumps. Issue #1297
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-10 12:06:19 -07:00
..
CMakeLists.txt [CMake] Move CMake files into their intended location so the 2017-06-12 11:59:00 +01:00
README Fix typo 2016-03-23 12:51:41 +09:00
test_capi.c update C-example that fails to not use longjumps. Issue #1297 2017-10-10 12:06:19 -07: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.