NSIS_EXECUTABLE-NOT FOUND

Hi,
I am a beginner to ITK, now I am installing ITK(4.13) in Windows 10 and also 7. I did exactly the same as mentioned in the ITK manual instruction. The configuration was done and ITK was generated.
But I faced some notifications in CMake user interface as follow:

MEMORYCHECK_COMMAND-NOT FOUND
NSIS_EXECUTABLE-NOT FOUND
WIX_EXECUTABLE-NOT FOUND
Could anyone help me to find out why this has happened, and how I can fix it, please?
Thanks a lot.

Hi @h_moradmand and welcome!

If cmake configuration and generation was done successfully you are all set for building ITK.

Donā€™t worry about those NOT_FOUND notifications in optional and extra features meant for maintainers and developers.

Thank you for reply.
Iā€™m trying to run the ā€œHelloWorldā€ which I found on the
ITk/Source/example/installation after I build ITK.
I use Cmake GUI and once I try to configure it, I get this error on the
display:

ITK_DIR-NOTFOUND.
CMake Error at CMakeLists.txt:12 (find_package):
** By not providing ā€œFindITK.cmakeā€ in CMAKE_MODULE_PATH this project has**
** asked CMake to find a package configuration file provided by ā€œITKā€, but**
** CMake did not find one.**

** Could not find a package configuration file provided by ā€œITKā€ with any of**
** the following names:**

** ITKConfig.cmake**
** itk-config.cmake**

** Add the installation prefix of ā€œITKā€ to CMAKE_PREFIX_PATH or set ā€œITK_DIRā€**
** to a directory containing one of the above files. If ā€œITKā€ provides a**
** separate development package or SDK, be sure it has been installed.**

What is wrong here?
can you suggest me how to fix it?
I am using windows 10.
Many thanks for considering my request.

Thatā€™s fine, cmake cannot know where you installed or built ITK. Follow the cmake instructions and using the cmake gui populate the variable ITK_DIR with the path to the folder where you built ITK (build folder, not the source tree).

Thank you! It was helpful.

1 Like

hiļ¼ŒI also faced the problem when I run the ā€œHello Worldā€.
problem : CMake Error at CMakeLists.txt:12 (find_package):
Have you solved the problem now?
If you do ,please give me some suggestions.
thanks a lot.

Hey @hongliang-zu, same suggestion, try to populate ITK_DIR.

1 Like

Thank you very much. It was helpful.
Iā€™m close to solving the problem.
But when I run the ā€œhello worldā€ in vs2013, which show me
ā€œCould not start this program because ITKCommon-4.13.dll was lost on the computer. Try reinstalling the program to resolve this problemā€.
Do I need to reinstall ITKļ¼Ÿļ¼ˆI didnā€™t find itkcommon-4.13.dll onlineļ¼‰
Could you give me some suggestions?

Yeah, it seems like you should build or re-install ITK.

You donā€™t have to rebuild or reinstall. You need to add ITKā€™s bin folder to the path. Alternatively, you could build ITK as static libraries by setting BUILD_SHARED_LIBS to OFF.

1 Like