<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>hello,<BR>&nbsp;<BR>I've built successfull vtk-dicom static with mingw 4.4.<BR>When I try to link it to my application (Qt 4.8) I get several errors like the following:<BR>&nbsp;<BR>D:\Lib\vtk-dicom\vtkDICOMReader.cxx:70: error: undefined reference to `_imp___ZN15vtkImageReader2C2Ev'<BR>D:\Lib\vtk-dicom\vtkDICOMReader.cxx:76: error: undefined reference to `_imp___ZN11vtkIntArray3NewEv'<BR>D:\Lib\vtk-dicom\vtkDICOMReader.cxx:77: error: undefined reference to `_imp___ZN11vtkIntArray3NewEv'<BR>etc...<BR>&nbsp;<BR>I'm not able to find out which library I'm missing, in order to build the application correctly.<BR>This is an <span class="hps alt-edited">excerpt from my .pro file:</span><BR>&nbsp;<BR><span class="hps alt-edited"><span style="color: rgb(128, 0, 128);">INCLUDEPATH</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>D:/Install/VTK/5101/Static/$$conf_dir/<span style="color: rgb(128, 128, 0);">include</span>/vtk-5.10
<BR>&nbsp;<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-LD:/Install/VTK/5101/Static/$$conf_dir/lib/vtk-5.10</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkGenericFiltering</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkCharts</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lQVTK</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkViews</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkWidgets</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkVolumeRendering</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkHybrid</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkexoIIc</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkRendering</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkftgl</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkInfovis</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtklibxml2</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkImaging</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkIO</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtktiff</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkpng</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkmetaio</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkNetCDF_cxx</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkNetCDF</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkGraphics</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkFiltering</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lMapReduceMPI</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lmpistubs</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkCommon</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lLSDyna</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkalglib</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkDICOMParser</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkexpat</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkfreetype</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkjpeg</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkproj4</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtksys</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkverdict</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkhdf5_hl</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkhdf5</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lvtkzlib</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lopengl32<span style="color: rgb(192, 192, 192);"> </span>-lglu32<span style="color: rgb(192, 192, 192);"> </span>-lgdi32</pre><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">&nbsp;</pre><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">INCLUDEPATH</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>D:/Install/dcmtk/121102/$$conf_dir/<span style="color: rgb(128, 128, 0);">include</span></pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-LD:/Install/dcmtk/121102/$$conf_dir/lib</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmsr</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmtls</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmqrdb</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmnet</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmjpls</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lcharls</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmjpeg</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lijg8</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lijg12</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lijg16</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmimage</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmimgle</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-ldcmdata</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-loflog</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>-lofstd</pre>
<BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>C:/QtSDK/mingw/lib/libws2_32.a</pre><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">&nbsp;</pre><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><font style="background-color: rgb(255, 255, 255);"><span style="color: rgb(128, 0, 128);">INCLUDEPATH</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>D:/Install/vtk-dicom/$$conf_dir/<span style="color: rgb(128, 128, 0);">include</span></font></pre><font style="background-color: rgb(255, 255, 255);">
</font><BR><pre style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><font style="background-color: rgb(255, 255, 255);"><span style="color: rgb(128, 0, 128);">LIBS</span><span style="color: rgb(192, 192, 192);"> </span>+=<span style="color: rgb(192, 192, 192);"> </span>D:/Install/vtk-dicom/$$conf_dir/lib/libvtkDICOM.a</font></pre></span>&nbsp;<BR><span class="hps alt-edited">what do I am missing ?</span><BR><span class="hps alt-edited">thanks in advance</span><BR><br><font color="#0000ff"><font color="#4f81bd"><strong>Andrea</strong></font></font><font color="#0000ff"><br></font><br>&nbsp;<BR><div>&gt; From: david.gobbi@gmail.com<br>&gt; Date: Thu, 14 Nov 2013 09:21:09 -0700<br>&gt; To: vtkusers@vtk.org<br>&gt; Subject: [vtkusers] VTK-DICOM v0.3.4<br>&gt; <br>&gt; I've made a new release of my vtk-dicom package, the source code<br>&gt; is available here:<br>&gt; https://github.com/dgobbi/vtk-dicom/releases<br>&gt; <br>&gt; Doxygen documentation and pdf document:<br>&gt; http://www.cognitive-antics.net/vtk-dicom/<br>&gt; http://calgaryimageanalysis.ca/wiki/images/2/23/Vtk-dicom.pdf<br>&gt; <br>&gt; The main addition is that this version support the VTK java wrappers,<br>&gt; so that you can use the DICOM reader and writer classes through<br>&gt; either C++, Java, or Python.<br>&gt; <br>&gt; The features that I'm working on for future releases are as follows:<br>&gt; - private dictionaries<br>&gt; - writing more image types (right now the writer supports CT,<br>&gt;   MRI, and secondary capture).<br>&gt; <br>&gt;   David<br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br></div>                                               </div></body>
</html>