Compiling .cpp file with Intel C++ Compiler error

Dec 13, 2013 at 11:46pm
Hi Everyone, I've only been playing around with C++ for 2 days now. I've started creating a small program in Visual Studio 2013 which compiled fine.

I however read about different compilers being available for C++ so I wanted to give the Intel compiler a try.

During the installation it requested a Windows SDK path which contains the folders "Lib", "Bin" and "Include". After researching a bit on the internet it seemed most likely to enter "C:\Program Files (x86)\Windows Kits\8.0"

When I now run the C++ compiler though with the following command:
"D:\Program Files (x86)\Intel\Compiler\11.1\054\bin\intel64\icl.exe" Main.cpp
I receive the following error:
1
2
3
4
5
6
7
8
9
10
11
Intel(R) C++ Intel(R) 64 Compiler Professional for applications running on Intel
(R) 64, Version 11.1    Build 20091130
Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.

icl: warning #10114: Microsoft Visual C++ not found in path
Main.cpp
Main.cpp(1): catastrophic error: could not open source file "string"
  #include <string>
                   ^

compilation aborted for Main.cpp (code 4)



It looks like I'm missing the default libraries. Does someone have any idea on how to resolve this issue?
Dec 14, 2013 at 12:35am
Why not just run the compiler from VS?
Dec 14, 2013 at 6:47am
Dec 14, 2013 at 2:43pm
Thanks this seems to have solved my issue
Topic archived. No new replies allowed.