Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find z3++.h #12

Open
axelvan22 opened this issue Apr 2, 2021 · 1 comment
Open

Cannot find z3++.h #12

axelvan22 opened this issue Apr 2, 2021 · 1 comment

Comments

@axelvan22
Copy link

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

@Brugix
Copy link

Brugix commented May 11, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants