Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8719239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:44:44+00:00 2026-06-13T06:44:44+00:00

Hello I downloaded Z3 from http://z3.codeplex.com/ and then opened the Z3 solution in Visual

  • 0

Hello I downloaded Z3 from http://z3.codeplex.com/ and then opened the Z3 solution in Visual Studio 2012. (While I’m not totally new to VS I haven’t used it in over 10 years). There are 9 projects in this solution but I am having a hard time telling which I ought to be using. I can guess at some of them, but others aren’t very clear. Eg. what is the difference between Microsoft.Z3 and Microsoft.Z3V3 ? Can anyone briefly explain what the different projects are and which ones to build?

Anyway just for kicks I tried building the top level solution but got the following errors

Error 1 error RC1015: cannot open include file ‘afxres.h’. C:\Projects\z3-src-4.1.2\z3\dll\dll.rc 10 1 dll

Error 2 (same as Error 1 except in shell.rc)

Error 3 error LNK1104: cannot open file ‘C:\Projects\z3-src-4.1.2\z3\Debug\z3_dbg.lib’ C:\Projects\z3-src-4.1.2\z3\test_capi\LINK test_capi

Trying to build just the MS.Z3 project still gives me Error 1.

My eventual goal is to invoke Z3 from say an F# program. Can someone provide some guidance for how to do this?
Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:44:45+00:00Added an answer on June 13, 2026 at 6:44 am

    EDIT

    This answer reflects the directory structure used in Z3 version <= 4.1.1. In version 4.3, the code base has been reorganized/simplified.

    END EDIT

    Which version of Visual Studio are you using? I’m asking because I want to reproduce the behavior you described.
    The easiest way to build Z3 is described here.
    You should use the Visual Studio Command Prompt, and execute msbuild. It seems you tried that, and got errors. Here is a short description of each project folder:

    • lib: the Z3 source code is here. This is the important folder. For visual studio users, it generated a static library.
    • dll: project for wrapping the static library as a Windows DLL. This is irrelevant for users in other platforms.
    • shell: uses the static library from lib to build z3.exe.
    • test: a bunch of unit tests. It produces test.exe.
    • Microsoft.Z3: .Net API. It is the official .Net API (C#, Visual Basic, F#, etc) for Z3. This is the API you should use with F#.
    • Microsoft.Z3V3: It is the old .NET API. It was the API available in Z3 3.x. We maintain it because some users still use it.
    • test_capi: Application that tests the Z3 C API.
    • maxsat: Small application that implements two maxsat algorithms on top of the Z3 API.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apparently Apple has changed some term in the agreement again. From http://www.appleoutsider.com/2010/06/10/hello-lua/ section 3.3.2
Hello StackOverflow community, The air.swf file referenced here: http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html used to launch AIR applications
I have compiled the NPAPI plugin for webP: http://code.google.com/p/webp-npapi-linux/ It works great from my
server: apache http server 2.2 problem: code does not load my text file hello
It seems that Apache ivy downloads artifacts only from http://mvnrepository.com/ and few other places,
I downloaded Flume source from: https://github.com/cloudera/flume/tarball/release-0.9.4 I'm getting a NullPointerException, shown below. If anyone
I'm trying to run the sample code from this Sun tutorial: http://download.oracle.com/javase/6/docs/technotes/guides/rmi/hello/hello-world.html I've copied
A friend just recommended that I try Qt Creator, so I downloaded it from
I am following the google chrome web app development on http://developer.chrome.com/trunk/apps/first_app.html and the web
I have a servlet in which I first download a pdf in from http://www.cbwe.gov.in/htmleditor1/pdf/sample.pdf

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.