<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>&nbsp;</DIV>
<DIV>Dear vtkusers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Because of the issues on building VTK in VS2008 discussed below, I built VTK in VS2005. However, I would prefer to develop my&nbsp;VTK-related applications in VS2008. Will this cause any problem?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you in advance.</DIV>
<DIV>Jim<BR><BR>--- On <B>Wed, 2/25/09, Jim <I>&lt;jiksed@yahoo.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Jim &lt;jiksed@yahoo.com&gt;<BR>Subject: Re: [vtkusers] Failed to run C++ examples<BR>To: "John Drescher" &lt;drescherjm@gmail.com&gt;<BR>Cc: vtkusers@vtk.org<BR>Date: Wednesday, February 25, 2009, 11:59 AM<BR><BR>
<DIV id=yiv784736645>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>Dear John,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you so much for pointing out the compiler version issue. You made my day! In one trial with VS2005 (BUILD_SHARED_LIBS=OFF), my vtk C++ examples run beautifully without any turns and twists. There must be an incorrect parameter or a bug somewhere which failed my VS2008 build.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am very grateful for John's hint. Every response counts!</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>--- On <B>Wed, 2/25/09, John Drescher <I>&lt;drescherjm@gmail.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: John Drescher &lt;drescherjm@gmail.com&gt;<BR>Subject: Re: [vtkusers] Failed to run C++ examples<BR>To: jiksed@yahoo.com<BR>Cc: vtkusers@vtk.org<BR>Date: Wednesday, February 25, 2009, 10:55 AM<BR><BR><PRE>&gt; I googled around and followed guides on this website
&gt; http://vtkblog.blogspot.com/.&nbsp; I build vtk_minimal successfully but
nothing
&gt; showed on the screen (not even an error message) when I run
vtk_minimal.exe.
&gt; I exhausted my effort but could not figure out what is wrong. I am sure a
&gt; lot of people on this mailing list use vtk with Visual Studio on a daily
&gt; basis. Someone please help me get started.
&gt;

One problem is not all of us are using Visual Studio 2008. I use 2005 the most.

John
</PRE></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></DIV><PRE>--- On <B>Tue, 2/24/09, Jim <I>&lt;<SPAN class=yshortcuts id=lw_1236629818_2 style="BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand; BORDER-BOTTOM: #0066cc 1px dashed">jiksed@yahoo.com</SPAN>&gt;</I></B> wrote:<BR><BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Jim &lt;jiksed@yahoo.com&gt;<BR>Subject: Re: [vtkusers] Failed to run C++ examples<BR>To: <SPAN class=yshortcuts id=lw_1236629818_3 style="CURSOR: hand; BORDER-BOTTOM: #0066cc 1px dashed">vtkusers@vtk.org</SPAN><BR>Date: Tuesday, <SPAN class=yshortcuts id=lw_1236629818_4 style="BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand; BORDER-BOTTOM: medium none">February 24</SPAN>, 2009, 4:03 PM<BR><BR><DIV id=yiv1268316875><TABLE cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD vAlign=top><DIV>Dear vtkusers,</DIV><DIV>&nbsp;</DIV><DIV>I built vtk-5.2.1 and c++
 examples in VS2008 without any errors. My TCL examples run fine. However, when I ran Arrays.exe or Cube.exe, I didn't see anything rendered on the screen, and no error messages either. I tried both BUILD_SHARED_LIBS=OFF and ON, and I also tried both Debug and Release builds. It didn't make any difference. I am completely lost. Someone please help me out. Thank you.</DIV></TD></TR></TBODY></TABLE></DIV></BLOCKQUOTE></PRE></BLOCKQUOTE></td></tr></table><br>