<div dir="ltr">Hi Ralf,<div><br></div><div>To fix this problem, you need to</div><div>1) link to vtkRenderingOpenGL.lib, vtkRenderingFreeType.lib, and vtkInteractionStyle.lib</div><div>2) add the following to the top of your source, after including the VTK header files:</div><div><br></div><div><div>#include <vtkAutoInit.h></div><div>VTK_MODULE_INIT(vtkRenderingOpenGL);</div><div>VTK_MODULE_INIT(vtkRenderingFreeType);<br></div><div>VTK_MODULE_INIT(vtkInteractionStyle);</div><div><br></div><div>There is some additional information on this wiki page:</div><div><a href="http://www.vtk.org/Wiki/VTK/Build_System_Migration">http://www.vtk.org/Wiki/VTK/Build_System_Migration</a><br></div><div><br></div><div> - David</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 8:56 PM, 陳鼎元 <span dir="ltr"><<a href="mailto:r.chen.dk@gmail.com" target="_blank">r.chen.dk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:14px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr">Hello Everyone:<br><br>       I've been trying to use VTK-7.0 to do the DICOM 3D Reconstruction for 2 weeks, but it finally ended up to a bug that I couldn't understand and don't know how to fix it... as the following pictures:<br>1. Codes<br>2. Error Information 1<br>3. Error Information 2<br>4. The DICOM files in the folder<br><br>The system is: Win7, Visual Studio 2013, and VTK 7-0.<br><br>    I will be thankful if someone knows how where the possible problem is, thank you very much.<br><br>                                                                                 Sincerely, Ralf.</div></div></div></div></blockquote></div><br></div></div></div>