SMTPlan icon indicating copy to clipboard operation
SMTPlan copied to clipboard

Cannot find z3++.h

Open axelvan22 opened this issue 3 years ago • 1 comments

Hi,

I followed the steps to install SMTPlan (z3 and piranha) but once I arrive at the make command I have this error : SMTPlan/include/SMTPlan/z3++.h:27:9: fatal error: z3++.h: No such file or directory

My z3, piranha and mp++ root directories were once located at the same directory as the one of the KCL-Planning-SMTPlan-edda8a8 directory (extracted from the tar.gz file).

I tried to copy (I know it's dirty) these directories to the KCL-Planning-SMTPlan-edda8a8 directory but it did not fix the error.

Do I have to re-do all the steps of the installation from scratch for the SMTPlan to work?

Axel

axelvan22 avatar Apr 02 '21 15:04 axelvan22

Hi, did you follow the instructions reported here https://github.com/Z3Prover/z3/blob/master/README-CMake.md (under section Unix Makefiles) ?

If so, then you just need to type sudo make install inside the z3/build/ folder. And then inside /usr/local/include/ you should find z3++.h file.

I know it may sound stupid...but I had the same error and this solved my problem (I'm not an expert, so it may have been my fault for not following properly the instructions the firts time).

Brugix avatar May 11 '21 20:05 Brugix