Hello,
I used ITKSNAP on macOS environment and now I wanted to create executable for windows os. However, I could not fix the error....
I am currently using
- windows 10, 64-bit
- Microsoft Visual Studio 2017
- CMake version 3.16.0-rc3
- ITK version 4.13.3
- VTK version 6.3.0
- QT version 5.9.9, used online downloader (also tried 5.12 since I was able to build and compile in macOS. However, I failed miserably in windows 10... In addition, when I tried to run source code for QT v5.6.0 it gave me another error message so I couldn't even create Qt v5.6.0.. Since this is not Qt forum I will not get into details).
My CMake was set up as
ITK_DIR - ...itk/build (compiled successfully)
VTK_DIR - ...vtk/build
CMAKE_PREFIX_PATH - C:/Qt/5.12.2/msvc2017_64/lib/cmake (tried C:/Qt/5.9.9/msvc2017_64/lib/cmake also)
and the error messages that showed up were..
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CURL_LIBRARY
linked by target "itksnapui_qt" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2
linked by target "itksnapui_model" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2
linked by target "itksnaplogic" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2
linked by target "ITK-SNAP" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2
linked by target "logic_api_test" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2
linked by target "Test_OrientationWidget" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2
linked by target "itksnap-wt" in directory C:/Users/DELL/Desktop/itksnap-v2/itksnap-v2/Utilities/Workspace
Configuring incomplete, errors occurred!
If anyone has any solutions for this problem, that will be awesome. Thank you!