I'm trying to compile a project using the Intel C++ 2011 Update 13 compiler. When trying to compile, I'm getting the error : cannot open source file 'stddef.h'. The includes in my project are:
I can see that stddef.h exists in $(VCInstallDir)include, and I can open it fine. The error is in mkl_clas.h.
The other two erros that I have I assume to be related:
Intellisense : cannot open source file "stdlib.h" [mkl_service.h]
Intellisense : cannot open source file "stddef.h" [mkl_cblas.h]
Thanks for any help,
Thanks, my include string is now:
But this still hasn't sorted the problem.
Hmmm, so I thought it was, but I think I've been looking in the wrong directory. It's in Visual Studio 11.0/vc/include, but not Visual Studio 10.0/vc/include.
Possibly a problem with having both VS2010 and VS2012 installed?
I've run a repair on VS2010, but that hasn't added the file. I've taken a copy of the file from VS2010/VC/include, but that produces a list of errors about other missing files that are referenced by the copied stddef.h.
On my installation, VS2010 with full service packs has stddef.h just as VS2012. I wouldn't be surprised if it may be an SP issue or that you may not have X64 components which come automatically on X64 OS.