Saturday 15 February 2014

Z3 build error using Visual Studio compilers -


I am trying to use the Visual Studio 2010 compiler on the Windows 7 64 Professional 64 bit Z3 theorem project. I went to the "Build" directory and hit nmake until the README instructions followed. After a while, I get the following:

  cl /fez3.exe / nologo / md open / open datalog_frontend.obj shell / dimacs_frontend.obj shell / install_tactic.obj shell / main.obj shell / Smtlib_frontend.ob j shell / z3_log_frontend.obj api / api.lib parsers / smt / smtparser.lib spec / portfolios / portfolio. Lib device / ufbv / ufbv_tactic.lib device / smtlogics / smtlogic _tactics.lib muz_qe / muz_qe.lib invoice / SLS / sls_tactic.lib SMT / strategy / smt_tactic.lib strategy / FPA / fpa.lib strategy / BV / bv_tactics.lib Mrs. / user_plugin / user_pl ugin.lib SMT / smt.lib SMT / proto_model / proto_model.lib ast / rewriter / bit_blaster / bit_blaster.lib ast / proof_checker / proof_checker.lib ast / macro / macros.li b est / patterns / pattern.lib Parsers / smt2 / smt2parser.lib cmd_context / extra_cmds / extra_cmds.lib cmd_context / cmd_context.lib solver / solver lib strategy / AIG / a ig_tactic.lib math / Subpaving / strategy / subpaving_tactic.lib nlsat / strategy / nlsat_tactic.lib strategy / arith / arith_tactics.lib sat / strategy / sat_tactic.lib strategy /core/core_tactics.lib ast / normal_forms / normal_for ms.lib ast / simplifier / simplifier.lib front_end_params / front_end_params.lib math / Euclid / euclid.lib ma th / Gröbner / grobner.lib parsers / util / parser_util.lib ast / replacement / substitution.lib strategy / tactic. lib model /model.lib ast / rewriter / rewriter.lib ast / ast.lib math / subpaving / subpaving.lib math / interval / interval.lib nlsat / nlsat.lib sat / sat.lib math / polynomial / polynomial.lib Util / util lib / link / debug / mash Do not: X86 / subsystem: console / INCREMENTAL: NO / stack: 8,388,608 / OPT: REF / OPT: ICF / TLBID: 1 / DYNAMICBASE / NXCOMPAT open / Datalog_frontendkobj: fatal error LNK1112: Modul- conflict MIT Demics Jhielkanputrtaip "X 86 "In computerized" x64 "steth. NMAKE: Fatal error U1077: "C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ VC \ BIN \ amd64 \ cl.EXE" ": RA ¼ ccage-code" 0x2 "stop   

There is error message in German, unfortunately (i18n explosion, I unterstand english quite well and this whole crap gets only slowed bug hunting), but this broadly says the following: "module machine Type 'x64' conflict with target machine type 'x86' "

I got the code by git clone Ps: //git01.codeplex.com/z3 . Any sign on what to do?

This error usually occurs when you x64 binary to the x86 command line environment.

Do one of the following:

  1. To create Z3 under 64 bits: a) Open a 64 bit Visual Studio Command Line window. V.S. The distribution comes with some pre-configured shortcuts for either 32 or 64 bits for command-line windows. B) Configure a build environment for Z3 by using a command of the form script \ mk_make.py --x64 -b release_x64 This creates a directory release_x64, where you can create a 64-bit version of Z3. C) CD Release _ x64 D) NMAK

  2. Creating Z3 under 32 bits: a) Open the 32-bit VS command line window. B) Configure build build using the command script \ mk_make.py -b release_x86 C) CD Release _ x86 D) Nmake

No comments:

Post a Comment