Hi, friends!<div>I am compelled to mail you, because I have no idea how to fix my problem. I hope, that it won`t be a problem for you.</div><div><br></div><div><b>The deal is</b> that I`m using VTK C# wrapper Activiz.NET. So, medical system, e.g computed tomography, sends images in DICOM. But vtkDICOMImageReader can`t read this files. Well, I`d found vtkGDCMImageReader in GDCM library.</div>
<div><br></div><div>Now I have to build this library and want to get C# dll(assembly with vtkGDCMImageReader)</div><div>First, I build VTK. Then build GDCM like this: in cmake I set GDCM_USE_VTK, GDCM_USE_ACTIVIZ, GDCM_WRAP_CSHARP, set SWIG props, set ACTIVIZ props, set VTK_DIR. Finally, configure and generate. Ok.</div>
<div><div><br></div><div><b>The problem is </b>when I build GDCM sln in Visual Studio 2010, I have some link errors. Means, that some dlls wasn`t find, like this:</div><div><br></div><div>Error<span class="Apple-tab-span" style="white-space:pre">        </span>12<span class="Apple-tab-span" style="white-space:pre">        </span>error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall vtkOStrStreamWrapper::vtkOStrStreamWrapper(void)&quot; (__imp_??0vtkOStrStreamWrapper@@QAE@XZ) referenced in function &quot;public: virtual class vtkMatrix4x4 * __thiscall vtkGDCMImageReader::GetDirectionCosines(void)&quot; (?GetDirectionCosines@vtkGDCMImageReader@@UAEPAVvtkMatrix4x4@@XZ)<span class="Apple-tab-span" style="white-space:pre">        </span>D:\VTK\gdcm-2.0.18 GeneratedBinaries2\Utilities\VTK\vtkgdcmCSHARP_wrap.obj</div>
<div><br></div><div>It seems to be that some headers wasn`t included in sln.</div><div><br></div><div><b>What I`ve done wrong? Or how to do it in right way?</b></div><div><b><br></b></div><div><b>Anyway, thanks a lot. Have a nice day =)</b></div>
<div>-- </div>Best regards,<div>Stanislau Trukhan</div><br>
</div>