[Insight-users] How to write CMakeLists

jiang jiang at TI . Uni-Trier . DE
Mon, 22 Sep 2003 18:31:28 +0200


Hi,
If I want to use VTK as visualization tool, how can I add this library to
CMakeLists? I wrote it as
LINK_LIBRARIES (
${ITK_LIBRARIES}
${VTK_LIBRARIES}
)

I install vtk42 in my system.
However it does not work. The program can not pass compiling. The error
message is:
fatal error C1083: Cannot open include file: 'vtkRenderWindow.h': No such
file or directory...


Thank you very much!


Chunyan