<div>Dear Dave and Mathieu:</div> <div> </div> <div>Thank you for your help. I don't quite understand what you said below. Here is what I did:</div> <div> </div> <div>1) Start Intel C++ IA-32 Command Prompt (v. 10.0.026)</div> <div>2) Change to the VTK source folder (v. 5.2) within the IC command prompt</div> <div>3) Run cmake .. (v. 2.6.2) from the IC command prompt. At the end, I saw "Configuring Done, Generating Done, Build files have been written to c:\vtk\vtk"</div> <div> </div> <div>I did not see any prompt "to pick a generator (select NMake Makefiles)" and for "Compiler Setup". Did I miss any step here? What to do next? I have VS 2005 installed.</div> <div> </div> <div>What is CMAKE_COMPILER_2005 in this statement "IF(CMAKE_COMPILER_2005)"? Do I need to replace it with my Intel compiler name or something else?</div> <div> </div> <div>What about vtk support for 64-bit Intel C++? Ultimately I will use the VTK
with Qt which seems a supported combination. Are there any more hurdles to go thru if want Qt, IC and VTK all in 64-bit?</div> <div> </div> <div>Thank you.</div> <div>Jim</div> <div> </div> <div><BR><B><I>Mathieu Malaterre <mathieu.malaterre@gmail.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px 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><BR>On Tue, Jan 13, 2009 at 5:38 PM, Dave Partyka <DAVE.PARTYKA@KITWARE.COM>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>> <MATHIEU.MALATERRE@GMAIL.COM>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 <DAVE.PARTYKA@KITWARE.COM><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>>> > http://www.cdash.org/CDash/buildSummary.php?buildid=249449<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 <DAVE.PARTYKA@KITWARE.COM><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 <JIKSED@YAHOO.COM>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>>> >>> http://www.vtk.org/Wiki/VTK_FAQ<BR>>> >>> Follow this link to subscribe/unsubscribe:<BR>>> >>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>>> >>><BR>>> >><BR>>> ><BR>>> ><BR>>> > _______________________________________________<BR>>> > This is the private VTK discussion list.<BR>>> > Please keep messages on-topic. Check the FAQ at:<BR>>> >
http://www.vtk.org/Wiki/VTK_FAQ<BR>>> > Follow this link to subscribe/unsubscribe:<BR>>> > http://www.vtk.org/mailman/listinfo/vtkusers<BR>>> ><BR>>> ><BR>>><BR>>><BR>>><BR>>> --<BR>>> Mathieu<BR>><BR>><BR><BR><BR><BR>-- <BR>Mathieu<BR></BLOCKQUOTE><BR><p>