<div dir="ltr"><div><div><div>Hi all,<br><br>I want to use vtk with itk and I set the BUILD_SHARED_LIBS option as ON. My cmake file looks like this<br><br># This is the root ITK CMakeLists file.<br>cmake_minimum_required(VERSION 2.4)<br>if(COMMAND CMAKE_POLICY)<br>  cmake_policy(SET CMP0003 NEW)<br>endif()<br><br><br># This project is designed to be built outside the Insight source tree.<br>project(vtiPCA)<br><br># Find ITK.<br>find_package(ITK REQUIRED)<br>include(${ITK_USE_FILE})<br><br>if (ITKVtkGlue_LOADED)<br>  find_package(VTK REQUIRED)<br>  include(${VTK_USE_FILE})<br>else()<br>  find_package(ItkVtkGlue REQUIRED)<br>  include(${ItkVtkGlue_USE_FILE})<br>  set(Glue ItkVtkGlue)<br>endif()<br> <br>add_executable(vtiPCA vtiPCA.cxx )<br><br>target_link_libraries(vtiPCA ${ITK_LIBRARIES})<br><br></div>But I receivde the error saying<br><br>By not providing "FindItkVtkGlue.cmake" in CMAKE_MODULE_PATH this project<br>   has asked CMake to find a package configuration file provided by<br>   "ItkVtkGlue", but CMake did not find one.<br>.<br><br></div>Can anyone help with this? Thanks!<br><br></div>Best,<br>Lianli<br></div>