- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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:
$(ICInstallDir)compiler\include;$(ICInstallDir)compiler\include\ia32;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;t$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;
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,
Thomas
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, I should add if it wasn't clear that I'm using Windows 7 and Visual Studio 2010. I'm using Composer 2011 because that's what the project was initially created with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't view VC++ Directories in VS global options as apparently it's deprecated. This is a screenshot of my workspace though, with the project options window opened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently the global VC++ directories screen is deprecated, but this is a screenshot of the the include path in my project properties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, my include string is now:
$(ICInstallDir)compiler\include;$(ICInstallDir)compiler\include\ia32;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(VCInstallDir)crt$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(ICInstallDir)mkl\include;
But this still hasn't sorted the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page