[vtkusers] About the VTK_USE_ANSI_STDLIB

朱艳乔 zhuyanqiao0413 at gmail.com
Mon Dec 13 11:11:00 EST 2010


Sorry, every one. I started to learn itk and vtk yesterday. I am using Arch
Linux, and I have installed vtk throught its software repos. But when I
tried to configure VTK as is told in "Starting with ITK and VIK", I can not
find the VTK_USE_ANSI_STDLIB option which needs to be turned on. My VTK is
the latest version, and does that matter? And what is the effect of this
option. Also, I can not find the option "USE_VTK" metioned in the itk faq
"

> In order to use ITK with VTK you must build VTK from sources and make sure
> that it is configured with the flag USE_ANSI_STDLIB enabled.
>
> Then you have to reconfigure ITK making sure that the option USE_VTK is
> enabled.
>
"


By the way, I am still not clear about the combination of ItK and vtk. It
seems I will have to copy the files like in
"InsightApplications-3.20.0/Auxiliary/vtk" to my application source
directory whenever I need to combine itk and vtk. Is that true?

Another question is why I can simply build the Examples\Installation in itk
but cannot build other examples like Examples\IO. I found that the
CMakeLists.txt are slightly different. CMakeLists.txt for
Examples\Installation has


> FIND_PACKAGE(ITK_REQIIRED)
>
    INCLUDE(${ITK_USE_FILE})

 I think the effection of these statement is to create ITK_DIR when build
the project using ccmake. This is crucial, am I right?

Sorry for the expression. And thanks in advance for help.




-------------------------------------------
朱艳乔
北京大学数学科学学院
畅春新园1#431
86-10-62742310
Luke
School of Mathematical Sciences,
Peking University.
phone: 86-10-62742310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101214/795f448f/attachment.htm>


More information about the vtkusers mailing list