<div>Dave and Mathieu,</div> <div> </div> <div>Thank you very much. I will run a test myself and post my findings here.</div> <div><BR><BR><B><I>Dave Partyka <dave.partyka@kitware.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Sure thing!<BR><BR> <DIV class=gmail_quote>On Tue, Jan 13, 2009 at 11:41 AM, Mathieu Malaterre <SPAN dir=ltr><<A href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</A>></SPAN> wrote:<BR> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Oh ok. So you could maybe fix<BR>VTK/CMake/vtkDetermineCompilerFlags.cmake to accomodate for intel<BR>compiler:<BR><BR>...<BR>IF(CMAKE_COMPILER_2005)<BR> ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)<BR> ADD_DEFINITIONS(-D_SCL_SECURE_NO_DEPRECATE)<BR>ENDIF(CMAKE_COMPILER_2005)<BR>...<BR><BR>This should
get you rid of tons of warnings.<BR><BR>Thanks,<BR> <DIV> <DIV></DIV> <DIV class=Wj3C7c><BR>On Tue, Jan 13, 2009 at 5:38 PM, Dave Partyka <<A href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</A>> wrote:<BR>> Yeah thats how the Intel compiler works (at least on Windows). It requires<BR>> either Visual Studio or the Windows SDK and sets itself up to act as a<BR>> replacement for the compiler executable "cl.exe" and then makes use of all<BR>> of the MS headerfiles and probably the libraries too.<BR>><BR>> On Tue, Jan 13, 2009 at 11:14 AM, Mathieu Malaterre<BR>> <<A href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</A>> wrote:<BR>>><BR>>> Dave,<BR>>><BR>>> This line looks suspicious:<BR>>><BR>>> ...<BR>>> C:\Kitware\VTK\Utilities\kwsys\ProcessFwd9x.c(91): warning #1786:<BR>>> function "sscanf" (declared at line 324 of "C:\Program Files<BR>>>
(x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h") was declared<BR>>> "deprecated ("This function or variable may be unsafe. Consider using<BR>>> sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.<BR>>> See online help for details.") "<BR>>> ...<BR>>><BR>>> why would intel compiler use M$ stdio.h file ? Did you set INCLUDE env<BR>>> var to M$ stuff on purpose ?<BR>>><BR>>> Thanks<BR>>><BR>>><BR>>> On Tue, Jan 13, 2009 at 4:26 PM, Dave Partyka <<A href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</A>><BR>>> wrote:<BR>>> > Hi Jim,<BR>>> > Here is the dashboard I ran last night building VTK with nmake (using<BR>>> > the<BR>>> > Intel Compiler). It has plenty of warnings but does build successfully.<BR>>> > <A href="http://www.cdash.org/CDash/buildSummary.php?buildid=249449"
target=_blank>http://www.cdash.org/CDash/buildSummary.php?buildid=249449</A><BR>>> > To do this you run cmake from the intel command prompt. From there when<BR>>> > you're prompted to pick a generator select NMake Makefiles and then<BR>>> > select<BR>>> > "Compiler Setup". In there set C and C++ compilers to point to the<BR>>> > location<BR>>> > of icl.exe. You can also use the visual studio IDE, in which you just<BR>>> > hit<BR>>> > the Intel C++ button on the toolbar.<BR>>> > On Mon, Jan 12, 2009 at 4:16 PM, Dave Partyka <<A href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</A>><BR>>> > wrote:<BR>>> >><BR>>> >> Hi Jim,<BR>>> >> I have recently been experimenting with building VTK with the latest<BR>>> >> Intel<BR>>> >> C++ compiler. I will run an experimental dashboard tonight and send you<BR>>>
>> a<BR>>> >> link to it. As I recall it had a ton of warnings in it that needed to<BR>>> >> be<BR>>> >> cleaned up. I wouldn't be surprised that in the near future we'll have<BR>>> >> a<BR>>> >> regular nightly dashboard using that compiler.<BR>>> >><BR>>> >> On Mon, Jan 12, 2009 at 3:51 PM, Jim <<A href="mailto:jiksed@yahoo.com">jiksed@yahoo.com</A>> wrote:<BR>>> >>><BR>>> >>> Dear vtkusers,<BR>>> >>><BR>>> >>> Will VTK + Qt + Intel C++ a good combination for numerical modeling<BR>>> >>> and<BR>>> >>> data visualizaton on Win32 and Win64? I don't see any testing data on<BR>>> >>> VTK<BR>>> >>> Quality Dashboard.<BR>>> >>><BR>>> >>> Thank you.<BR>>> >>> Jim<BR>>> >>><BR>>> >>>
_______________________________________________<BR>>> >>> This is the private VTK discussion list.<BR>>> >>> Please keep messages on-topic. Check the FAQ at:<BR>>> >>> <A href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>>> >>> Follow this link to subscribe/unsubscribe:<BR>>> >>> <A href="http://www.vtk.org/mailman/listinfo/vtkusers" target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>>> >>><BR>>> >><BR>>> ><BR>>> ><BR>>> > _______________________________________________<BR>>> > This is the private VTK discussion list.<BR>>> > Please keep messages on-topic. Check the FAQ at:<BR>>> > <A href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>>> > Follow this link to subscribe/unsubscribe:<BR>>> > <A
href="http://www.vtk.org/mailman/listinfo/vtkusers" target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>>> ><BR>>> ><BR>>><BR>>><BR>>><BR>>> --<BR>>> Mathieu<BR>><BR>><BR><BR><BR><BR></DIV></DIV>--<BR><FONT color=#888888>Mathieu<BR></FONT></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><BR><p>