<div dir="ltr">Hello,<div><br></div><div>I am trying to wrap a small program of c++ with VTK in order to get a rendering window in C#.</div><div>When I created a CLR  Class Library, I included a directory of  vtk class called "RenderingWindow"  to a .h and .cpp files of the class library:</div><div><br></div><div>#include <C:\Users\djedj\Documents\<wbr>Visual Studio 2015\Projects\vtk_Wpf_<wbr>rendering\bin\RenderingWindow.<wbr>h></div><div>#include <C:\Users\djedj\Documents\<wbr>Visual Studio 2015\Projects\vtk_Wpf_<wbr>rendering\bin\RenderingWindow.<wbr>cpp></div><div><br></div><div> I get errors  like this one :</div><div><div><br></div><div>Error<span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>C1083<span style="white-space:pre-wrap"> :</span>Cannot open include file: 'vtkXMLUnstructuredGridReader.<wbr>h': No such file or directory</div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap"><br></span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">I tried to integrate VTK to this Class Library to fix this problem like we do it with OpenCV:</span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">- I added the bin directory to include directories</span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">- I added a lib directory to libraries directory </span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">- I added all the libraries in additional dependencies </span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">- Then I added the current project to the solution of the c++ project and made this project depending on c++ project</span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap"><br></span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">It didn't work, so I'm thinking to build it like I did it with C++ project, but I don't really know how to do it and if it is the required solution.</span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">I didn't find a tutorial or an article explaning how to wrap a c++ class with VTK library.</span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap"><br></span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">Thank you for your help</span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap"> </span></div><div><br></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap"><br></span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap"><br></span></div><div><span class="m_-545835074307129409gmail-Apple-tab-span" style="white-space:pre-wrap">        </span></div></div></div>