Closed AnduinBrian closed 1 year ago
z3_version.h
is generated when compiling z3. It's a template input (.in
). Make sure the include directory you provided points to the installed output directory of your z3 setup.
I downloaded compiled z3 on github. Here is the data in z3_version.h
#define Z3_MAJOR_VERSION 4
#define Z3_MINOR_VERSION 8
#define Z3_BUILD_NUMBER 15
#define Z3_REVISION_NUMBER 0
#define Z3_FULL_VERSION "Z3 4.8.15.0"
And is this file in C:\Users\Chipuku\Downloads\z3-4.8.15-x64-win\include\z3_version h
?
your output has
-- Z3 includes directory defined: C:\Users\Chipuku\Downloads\z3-4.8.15-x64-win\include" -DZ3_LIBRARIES=C:\Users\Chipuku\Downloads\z3-4.8.15-x64-win\bin\libz3.lib -
DCAPSTONE_INCLUDE_DIRS=C:\Users\Chipuku\Downloads\capstone-4.0.2-win64\include"
-- Z3 libraries defined:
I think its supposed to be like
-- Z3 includes directory defined: C:\Users\Chipuku\Downloads\z3-4.8.15-x64-win\include
-- Z3 libraries defined : C:\Users\Chipuku\Downloads\z3-4.8.15-x64-win\bin\libz3.lib
Are you sure you didnt accidently pressed quote on some part? Maybe environment variable is wrong
i chose to run away :(, downgrade python to 3.7 and use compiled bin.
Im using Python 3.11. Visual Studio 2022 I downloaded all the dependencies. list: boost == 1_82_0 z3 == 4.8.15 capstone == 4.0.2
Here is the command i use:
The output:
As i understand, cmake not able to find z3_version.h, but i give it correctly folder path. Why is this happend, thanks