Guys a very beginner question.
I’ve tried to build ITK pointing it to VTK_build, but no success so far.
I’ve done that before, but do not remember and cannot find it elsewhere…
Thanks!
Guys a very beginner question.
I’ve tried to build ITK pointing it to VTK_build, but no success so far.
I’ve done that before, but do not remember and cannot find it elsewhere…
Thanks!
More details are required, including the error message.
Initially, I build VTK. Everything goes ok…
Then I configure and generate ITK with the variable Module_ITKVtkGlue
set as ON
.
And then Build. Everything sounds OK.
Then I try to configure and generate an ITK project through CMAKE-GUI, set ITK_DIR,
but it says:
Could not find a package configuration file provided by "ItkVtkGlue" with
any of the following names:
ItkVtkGlueConfig.cmake
itkvtkglue-config.cmake
Add the installation prefix of "ItkVtkGlue" to CMAKE_PREFIX_PATH or set
"ItkVtkGlue_DIR" to a directory containing one of the above files. If
"ItkVtkGlue" provides a separate development package or SDK, be sure it has
been installed.
That is it?
Naturally, in my CmakeLists.txt I call ItkVtkGlue
!
In that case ITKVTKGlue is just a normal module, you don’t need to “call it” from CMakeLists.txt, just as you wouldn’t do it for ITKCommon or ITKSmoothing.
You mean that I don’t really need to call:
find_package(ItkVtkGlue REQUIRED)
include(${ItkVtkGlue_USE_FILE})
set(Glue ItkVtkGlue)
in my CMakeLists.txt
file, even if I call it in my .cpp
main file?!