原文地址:fatal error C1083: Cannot open include file: ‘ammintrin.h’: No such file or directory作者:cynicliu
使用Visio Studio2010编译项目时,错误提示:
1>------ Build started: Project:
some_project_name_i_am_hiding, Configuration: Debug Win32
------
1> stdafx.cpp
1>c:program files (x86)microsoft visual studio
10.0vcincludeintrin.h(26): fatal error C1083: Cannot
open include file: 'ammintrin.h': No such file or
directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
是由于windows更新毁坏了文件'ammintrin.h',安装Visual Studio 2010 SP1可以解决问题,详细参考:
http://wishmesh.com/2011/04/fatal-error-c1083-cannot-open-include-file-ammintrin-h-no-such-file-or-directory/