User forums > Help

Install Intel 11 Compiler

<< < (2/3) > >>

MortenMacFly:

--- Quote from: peterfarge on August 11, 2009, 11:07:40 pm ---
--- Quote ---icl.exe /nologo -Wall /X /ID:\Programme\IntelCompiler\Compiler\11.0\061\cpp\include /I"D:\Programme\Microsoft Visual Studio 9.0\VC\include" /I"D:\Programme\Microsoft SDKs\Windows\v7.0A\Include" /c main.c /Foobj\Release\main.obj
--- End quote ---
then I get the main.obj. Why?

--- End quote ---
Are you aware that concerning the Intel docs /X removes some standard path's (whatever that means...?!).


--- Quote from: peterfarge on August 11, 2009, 11:07:40 pm ---The Intel compiler doesnt use the environment variables I have set in the Prebuild step?

--- End quote ---
The compiler does use it. Otherwise you should get a license error (IIRC). Make sure you use the EnvVars plugin to set this variable. So *not* the environment settings in the compiler setup.

I have access to an Intel compiler at work - maybe I can try there...

Ficko:
I am wondering that anybody was able to come up with a step by step instruction -that works- for Intel C++ (11) ? :(

The only way I can use it to put into "iclvars_ia32.bat" als last line the execution of "codeblocks.exe".
But that is so "sloppy". :)

MortenMacFly:

--- Quote from: Ficko on December 09, 2009, 12:16:49 pm ---I am wondering that anybody was able to come up with a step by step instruction -that works- for Intel C++ (11) ? :(

--- End quote ---
Look: I told you what to do. For the intel compiler working you will NEED to have everything setup correctly as in the batch file. So either you setup the variables set in the batch file globally for your Windows (user account) in the Windows options or using the EnvVars plugin within the focus of C::B.

Ficko:

--- Quote from: MortenMacFly on December 09, 2009, 09:54:40 pm ---...everything setup correctly as in the batch file...

--- End quote ---

Yep but there is a lot of stuff there + you have to adjust everything according to the "vsvars32.bat" and if you do that right - ca. 1 hour work - you still can't
switch cozily between 32 and 64 bit enviroment you have to do the same for "iclvars_intel64.bat". :(

So Intel made life hard. :?
What could be the solution? :shock:

Could C::B be made to bypass all the setup params and make him to use the batch files instead?

dje:

--- Quote from: Ficko on December 10, 2009, 11:25:11 am ---So Intel made life hard. :?
What could be the solution? :shock:

--- End quote ---
Change your compiler ;)


--- Quote from: Ficko on December 10, 2009, 11:25:11 am ---Could C::B be made to bypass all the setup params and make him to use the batch files instead?

--- End quote ---
What about launching C::B with a batch that calls VC batch before to share the same environment variables?

Dje

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version