本文介绍了_BitScanForward _BitScanForward64 缺失 (VS2017) Snappy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编译 snappy ( https://bitbucket.org/robertvazan/snappy-visual-cpp) 与 VS2017.我也不能用 VS2015 解决这个问题;- 我已经在命令提示符 (msbuild) 和 Visual Studio IDE 中尝试过;它不能同时识别 _BitScanForward 和_BitScanForward64.如果它不能识别一个,我会认为我选择了错误的构建模式(x86/x64),但似乎两者都丢失了.使用 msbuild 构建时,我确保运行正确版本的命令提示符.

I'm trying to compile snappy ( https://bitbucket.org/robertvazan/snappy-visual-cpp) with VS2017. I can't pull this off with VS2015 also; - I've tried in command prompt (msbuild) and through the visual studio IDE; it can't recognize both _BitScanForward and_BitScanForward64. If it didn't recognize just one I would figure I've chosen wrong build mode (x86/x64) but seems like both are missing. I made sure to run the correct version of command prompt when building with msbuild.

推荐答案

#include <intrin.h>

不见了.

这篇关于_BitScanForward _BitScanForward64 缺失 (VS2017) Snappy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-16 16:07