<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv320961109>
<DIV> </DIV>
<DIV>I built vtk 5.2.1 and c++ examples in VS2008 from the source. I ran Examples\DataManipulation\Cxx\Arrays.exe from both Command Prompt and by double-clicking it from <SPAN class=yshortcuts id=lw_1234994401_0 style="BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand; BORDER-BOTTOM: medium none">Windows Explorer</SPAN>. Arrays.exe was executed without any error but I did not see any RenderWindow popping up. However, Arrays.tcl runs great and shows a beautiful color square. As a side note, I have vtk5.0.2 built with Borland C++ 2006 on the same computer.</DIV>
<DIV> </DIV>
<DIV>I had a static build of vtk, but I noticed that all examples are set to dynamic build (/MD). When I changed it to /MT, I got tons of errors all similar to this:</DIV>
<DIV> </DIV>
<DIV>MSVCRT.lib(MSVCR90.dll) : error LNK2005: _getenv already defined in LIBCMT.lib(getenv.obj)</DIV>
<DIV> </DIV>
<DIV>Someone please help out. Thank you.</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></td></tr></table><br>