Guys, I know intel's compiler needs VS in order to work. I have VS2013 Pro installed.
I need to run icl (your compiler) from command line.
I've tried to run it by simply going into directory and typing icl [pathTo]main.cpp but I'm getting error:
icl: error: #10114 Microsoft Visual C++ not found in the path.
How to pass path to visual studio to icl from the command line?
Judith Ward (Intel) wrote:
I think Reddy suggested you pass cl-dir (the directory where cl is located) not the actual cl.exe command to /Qlocation,link. So please try just the bin directory as the argument.
If I do that I get message:
Microsoft Visual Studio not found in the path
If I pass full path including cl.exe:
if I set path (in console I type set LIB="[libpath]") to where libmmt.lib resides I get:
Now, I really don't know, because if now I would set the path to libcmt.lib I'm getting message that libmmt.lib isn't found.
Really need someone's help with this.
Kittur Ganesh (Intel) wrote:
Can you try executing the compilervars.bat like (example below) It should set the environment for the VS specified in the second argument, else it will be using the default detected during installation:
C:\Program Files \Intel\Composer XE 2013 SP1\bin\compilervars.bat ia32_intel64 vs2010
The above should set the environment for using VS2010 x64, compiler running on ia-32 arch generating code for 64 arch, using 64 libs. If ia32 is used only, then compiler and libs are only for ia32...
Hi, yes, it did help. Thank you very much.
the commands icl and icl++ couldn't be found on my Mac OS*. I did set the variables using compilervars.sh. Could anyone here help me figure this out please?