- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a project defined to be compiled with Intel Compiler.
When trying to compile it I get the following error:
C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\compiler\include\stdint.h(39): fatal error C1083: Cannot open include file: '../../vc/include/stdint.h': No such file or directory
I'm attaching a ZIP file with the project (Simple Photoshop Plug In from PS SDK).
This is a Visual Studio 2017 project which is in the path:
PS_SDK_2017\pluginsdk\samplecode\filter\PoorMansTypeTool\win
Edge case is that if one compile the project first with MS Compiler and then switch to Intel compiler it works.
Yet if one cleans the project and try building it with Intel one gets the error.
Screenshots:
- The error produced - https://i.imgur.com/wfZRMne.png.
- Configuration (Using Intel, it was checked on each file in the project) - https://i.imgur.com/KoFzhdr.png.
System Information:
IDE - Visual Studio 2017 Update 4.
Compiler - Intel Compiler 18 Update 1
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the problem is caused by the .r file. the .r file is built with "cl". if you build it with "icl", it builds ok.
or add "-D__MS_VC_INSTALL_PATH="C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.11.25503\\"" to the "cl" build commandline.
Although it's still a bug when building a resource file .r file that the env isn't setup completely correct. This is very corner case that your .r file contains includes like "stdint.h".
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jennifer,
First, thank you for taking the effort to answer.
We will try what you said and report back.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jennifer,
What about the other error - https://i.imgur.com/KoFzhdr.png?
Many types are written as undefined.
Thank You.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page