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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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>