- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running Windows 10, VS Community 2017 15.6.0 and Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.6.270 Build 20171215.
The following code does not compile:
#include <string> int main() { std::string s0("Initial string"); return 0; }
with the following two errors:
Any help is very appreciated.
- 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
OK, after some digging I *think* I have managed to figure out what is happening - a confirmation on this would be greatly appreciated by someone more knowledgeable, as I am just a student in this.
A side note, both intel compiler 17.0 and 18.0 are affected in a default installation of visual studio 2017 community - the errors are different for 18.0, but still compilation is not possible.
The main culprit (probably obvious to most of you) is the base platform toolset. Using v140, compilation is possible, however, documentation of the compiler states (here) that it *should* work with the default v141 coming with VS2017.
After much searching, I stumbled upon this blog post where the MS guys list (as of writing of that blog post) several minor versions of the v141 toolset. Unfortunately, changing the minor version of toolset is not possible from within VS2017, but needs direct editing of vsproj files.
Long story short, as of version 15.6.4, there are three toolsets that could be downloaded for v141 - a standard one, and v14.11 and v14.12.
My testing so far shows that intel compilers versions 17.0 and 18.0 (latest updates) work with v14.11 but not with the default or v14.12.
I will continue to see how i can leave only v14.11 as a toolset, as my main goal is actually to use the icc as a compiler for matlab's mex files.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page