visual-studio - 在 Windows 上构建 64 位 Z3 时出错

标签 visual-studio 64-bit z3

我按照说明在带有 Visual Studio Community 2015 的 64 位 Windows 8.1 系统上通过运行

python scripts/mk_make.py -x

但是当我运行 nmake 时,出现以下错误:
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8848): error C3861:
 '_InterlockedIncrement64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8879): error C3861:
 '_InterlockedDecrement64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8915): error C3861:
 '_InterlockedExchange64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8969): error C3861:
 '_InterlockedExchangeAdd64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(8979): error C3861:
 '_InterlockedExchangeAdd64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(9026): error C3861:
 '_InterlockedAnd64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(9036): error C3861:
 '_InterlockedOr64': identifier not found
C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(9046): error C3861:
 '_InterlockedXor64': identifier not found
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0
\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

关于如何解决这个问题的任何想法?

最佳答案

确保您在“VS x64 Native Tools”控制台上运行。

关于visual-studio - 在 Windows 上构建 64 位 Z3 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35286374/

相关文章:

c - 组织和维护 x86 和 x64 Windows 的代码

z3 - 使用 unsat 消除 forall

SMTLIB 语法中的 z3 量词消除

c# - 在 Visual Studio 中使用自定义方法时在 View 名称上显示红色下划线

.net - 默认的 netcore docker-compose 模板如何工作?

c# - 没有方法和参数描述的 Visual Studio 2013 智能感知

php - 寻找适用于 Windows 7 的 OAuth DLL(需要从 WAMP 服务器上的 PHP 使用)

c - 为什么 64 位 Ubuntu 中的 8 字节数组 (C) 占用 16 字节?

types - 将 Z3 Real 类型转换成浮点

c# - .Net 跳码