Are you using CMake to build your console application?<br><br>See any of the projects in the VTK/Examples folder for example CMakeLists.txt files that show how to build a project that links to VTK using CMake. From such a project, using vtkStdString should simply be a matter of:<br>
<br>#include "vtkStdString.h"<br><br>void TestFunc()<br>{<br> vtkStdString s("hi there");<br> // do something useful with s here...<br>}<br><br>What is the error you get if you try to use vtkStdString?<br>
<br><br><div class="gmail_quote">On Sun, Apr 6, 2008 at 9:43 AM, Mark Jefferson <<a href="mailto:mark.jefferson@qq.com">mark.jefferson@qq.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi, David,</div>
<div> I have found vtkstd in CMakeLists.txt, but I don't know how to do next? maybe, should I recompile VTK using CMake again? but I have recompile vtk for many times, I still could not use class vtkStdString.</div>
<div> MJ</div></blockquote></div><br>