greedy
greedy copied to clipboard
ccmake issue when building Greedy on MacOS
Hi,
I have tried to install greedy under MacOS. I followed the installation instruction and installed CMake 3.23.2 and ITK 5.2.1. When I tried to run ccmake for building greedy, I got ‘ zsh: command not found: ccmake’.
Can anyone help me? If you need any further information, please tell me. Thanks in advance!
Best, Amy
Amy
I forget exactly now, but when you install cmake, there should be some documentation on how to make cmake commands available in the terminal.
Paul
On Mon, Jun 13, 2022 at 4:14 PM Qing Lyu @.***> wrote:
Hi,
I have tried to install greedy under MacOS. I followed the installation instruction and installed CMake 3.23.2 and ITK 5.2.1. When I tried to run ccmake for building greedy, I got ‘ zsh: command not found: ccmake’.
Can anyone help me? If you need any further information, please tell me. Thanks in advance!
Best, Amy
— Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPEW5DS6JNJRFTVNOH2GTVO6JC5ANCNFSM5YVMDABA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi Paul,
I solved the problem about ccmake, but when running ccmake, I got the following error,
CMake Error at CMakeLists.txt:66 (FIND_PACKAGE): By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "VTK", but CMake did not find one.
Could not find a package configuration file provided by "VTK" (requested version 9.1.0) with any of the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR" to a directory containing one of the above files. If "VTK" provides a separate development package or SDK, be sure it has been installed.
Configuring incomplete, errors occurred!
Then, I checked the variable VTK_DIR, it has been set to VTK_DIR-NOTFOUND. Can you help me with this issue? Thank you!
Best, Qing
Hi Amy,
You need to set the value of VTK_DIR variable in ccmake to a VTK 9.1 binary directory. If you don't have the VTK already built, please check this guide: https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/dev/build.md
Best, Jilei