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

Could not determine the version of z3, since the z3 executable was not found. #15515

Open
hongyu-gui opened this issue Oct 15, 2024 · 1 comment
Labels
waiting for more input Issues waiting for more input by the reporter

Comments

@hongyu-gui
Copy link

Description

CMake Warning at cmake/FindZ3.cmake:33 (message):
Could not determine the version of z3, since the z3 executable was not
found.
Call Stack (most recent call first):
CMakeLists.txt:95 (find_package)

CMake Error at CMakeLists.txt:99 (message):
SMTChecker tests require Z3 4.12.1 for all tests to pass.

Build with -DSTRICT_Z3_VERSION=OFF if you want to use a different version.
You can also use -DUSE_Z3=OFF to build without Z3. In both cases use
--no-smt when running tests.

image

Environment

  • Compiler version: version 0.8.28
  • Target EVM version (as per compiler settings):
  • Framework/IDE (e.g. Truffle or Remix):
  • EVM execution environment / backend / blockchain client:
  • Operating system:

Steps to Reproduce

@mehtavishwa30
Copy link
Contributor

mehtavishwa30 commented Oct 17, 2024

Hey @hongyu-gui!

The report above does not include enough information for us to diagnose whether it is indeed a bug or not. Please provide a more detailed self-contained reproduction of the code causing the issue so that we can figure out what could be wrong.

I would also recommend using text for the code snippets instead of a screenshot as that would help us copy and paste the snippet easily.

And lastly, please note that once #15252 is merged, it could provide grounds for closing this issue.

@mehtavishwa30 mehtavishwa30 added waiting for more input Issues waiting for more input by the reporter and removed bug 🐛 labels Oct 17, 2024
@mehtavishwa30 mehtavishwa30 changed the title Compilation Problem Could not determine the version of z3, since the z3 executable was not found. Oct 18, 2024
@ethereum ethereum deleted a comment Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for more input Issues waiting for more input by the reporter
Projects
None yet
Development

No branches or pull requests

2 participants