- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Artur,
Run Visual C++ vcvars32.bat Or pass the options "/Qvc[10|11|12]" and "/Qlocation,link,"[cl-dir]" to the icl.exe.
Reddy
- 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
Hi guys, I followed your advice and the error now I'm getting:
Any idea how to pass the path to these libraries?
Thank you.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Judy
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.
Thank you.
- 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
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...
_K
Hi, yes, it did help. Thank you very much.
smallB
- 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
Kittur Ganesh (Intel) wrote:
Great to know it worked, thanks for letting us know.
_Kittur
You're welcome ;)
Best Regards
Artur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
icl is the name of the compiler on Windows (to match Microsoft's cl) but on MacOS we use the GNU names - icc for C and icpc for C++.
- 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