[llvm-bugs] [Bug 42054] New: Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1"

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 29 01:48:05 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42054

            Bug ID: 42054
           Summary: Could NOT find Z3: Found unsuitable version "0.0.0",
                    but required is at least "4.7.1"
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: jerker.back at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 22041
  --> https://bugs.llvm.org/attachment.cgi?id=22041&action=edit
cmake configure script

cmake configuration of llvm on Windows 10 using Visual Studio 2019 x64 and
cmake-3.14.4-win64-x64

cmake configure fails with

-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at
least "4.7.1" (found F:/dev/compilers/z3/bin/libz3.lib)
CMake Error at CMakeLists.txt:395 (message):
  Z3 >= 4.7.1 has not been found in LLVM_Z3_INSTALL_DIR: F:/dev/compilers/z3.

I have installed the latest Z3 (Version 4.8.4) from official github download.
To me, it seems "Microsoft.Z3.dll" is the only versioned binary (4.8.4.0).
libz3.lib as a static library (or import library) is certainly not versioned.
z3.exe reports upon execution

z3.exe --version
Z3 version 4.8.4 - 64 bit - build hashcode d6df51951f4c

I think it is the following instruction in llvm/CMakeLists.txt that fails

CMakeLists.txt(391):find_package(Z3 4.7.1)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190529/1df2ee66/attachment.html>


More information about the llvm-bugs mailing list