[vtkusers] where is vtkstd/string?
David Cole
david.cole at kitware.com
Sun Apr 6 09:50:43 EDT 2008
Are you using CMake to build your console application?
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:
#include "vtkStdString.h"
void TestFunc()
{
vtkStdString s("hi there");
// do something useful with s here...
}
What is the error you get if you try to use vtkStdString?
On Sun, Apr 6, 2008 at 9:43 AM, Mark Jefferson <mark.jefferson at qq.com>
wrote:
> Hi, David,
> 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.
> MJ
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080406/3d820e06/attachment.htm>
More information about the vtkusers
mailing list