You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Z3 binaries are located at C:\z3-4.8.5-x64-win. and installed: cabal v1-install z3 --extra-lib-dirs=C:/z3-4.8.5-x64-win/bin --extra-include-dirs=C:/z3-4.8.5-x64-win/include
All the requested packages are already installed:
z3-408.2
Use --reinstall if you want to reinstall anyway.
now building the project using:
cabal v1-build
Results in the error:
Preprocessing executable 'test' for z3-test-0.1.0.0..
Building executable 'test' for z3-test-0.1.0.0..
Linking dist\build\test\test.exe ...
C://ProgramData//chocolatey//lib//ghc//tools//ghc-8.10.2//mingw//bin/ld.exe: cannot find -lC:\z3-4.8.5-x64-win\bin
collect2.exe: error: ld returned 1 exit status
`gcc.exe' failed in phase `Linker'. (Exit code: 1)
I'm having trouble building a Cabal project with the z3 bindings.
The following is the minimum (faulty) example:
Using a project initialized by
cabal init
:With modified
test.cabal
:Z3 binaries are located at
C:\z3-4.8.5-x64-win
. and installed:cabal v1-install z3 --extra-lib-dirs=C:/z3-4.8.5-x64-win/bin --extra-include-dirs=C:/z3-4.8.5-x64-win/include
now building the project using:
cabal v1-build
Results in the error:
Result of
cabal v1-build -v3
isHow can I build a project with the z3 bindings?
Note that:
cabal install ...
orcabal v2-install ...
results inCannot build .. z3 because none of the components are available to build:
The text was updated successfully, but these errors were encountered: