Hi,<div><br></div><div>what is the recommended Generator to compile on Windows with ICC on the shell?</div><div><br></div><div>If I try to use the Visual Studio 2010 (or 2008) generator and then use msbuild (/ devenv) to compile, it uses MSVC as compiler. This is even though I have selected icl (CC=icl) and cmake had detected that the compiler correctly as Intel.</div>
<div>If I run msbuild with '/p:PlatformToolset="Intel C++ Compiler XE 12.0"' then I get the error:</div><div><br></div><div><div style>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformTools</div>
<div style>ets\Intel C++ Compiler XE 12.0\Microsoft.Cpp.x64.Intel C++ Compiler XE 12.0.tar</div><div style>gets(38,5): error MSB4062: The "ICMessage" task could not be loaded from the as</div><div style>sembly Intel.Build.ICLTasks.ICMsgTask, Version=12.0.0.0, Culture=neutral, Publi</div>
<div style>cKeyToken=3c0c138f5bbab72f. Could not load file or assembly 'Intel.Build.ICLTas</div><div style>ks.ICMsgTask, Version=12.0.0.0, Culture=neutral, PublicKeyToken=3c0c138f5bbab72</div><div style>f' or one of its dependencies. The system cannot find the file specified. Confi</div>
<div style>rm that the <UsingTask> declaration is correct, that the assembly and all its d</div><div style>ependencies are available, and that the task contains a public class that imple</div><div style>ments Microsoft.Build.Framework.ITask. [E:\jenkins-build\testing\gromacs\icc.vs</div>
<div style>2010\src\gmxlib\gmx.vcxproj]</div></div><div><br clear="all"><div><div style>If I try to use the NMake generator instead then I get:</div><div style><div>src\gmxlib\CMakeFiles\gmx.dir\flags.make(5) : fatal error U1001: syntax error :</div>
<div>illegal character '-' in macro</div><div><br></div><div>Somehow the NMake generator uses dashes instead of slashes for options.</div><div><br></div><div>I'm usually not developing on Windows. So please excuse it if I'm missing something obvious.</div>
<div><br></div><div>Roland</div><div><br></div></div></div>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>
</div>