-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while building Plus in Win10 #1177
Comments
I am seeing the same issue. Looks like this has something to do with CMake 2.29. I am trying a different version right now. Will report how it goes in a few hours. |
I am struggling with the same issue and it never occurred to me that it could be a CMake issue. I will also try downgrading CMake and seeing if it works. |
Downgrading CMake did not work. I tried CMake versions 3.27 and 3.30. @Sunderlandkyl any ideas? |
I built Plus yesterday using the version of CMake I had, which was 3.24.2. If it is a problem in ITK then we should also look into updating to a newer version. |
Update: We tested ITK 5.4.0 but encountered the same errors. Solutions: We have verified on two computers that PLUS can be built using CMake 3.28.3. Additionally, please ensure that you are using Visual Studio and not Visual Studio Preview. We have not yet tested these changes with ITK 5.4.0. |
Hello there, while installing and building All_BUILD Solution from PlusBuild, I stumbled on a total of 3 build errors:
Does someone understand these issues and can maybe give me some tips of what I can do?
Software Used: --> generally all requirements except Microsoft HTML Help
Qt5.12.12
cmake2.29.0
VS 2022
Error: MSB8055 in FIle Microsoft.CppCommon.targets (C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets) at line 254
What I tried:
Rebuild Project, only:
-Logs:
1>CMake Error at C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/Modules/ITKEigen3.cmake:16 (find_package):
1> Could not find a package configuration file provided by "ITKInternalEigen3"
1> (requested version 3.3) with any of the following names:
1>
1> ITKInternalEigen3Config.cmake
1> itkinternaleigen3-config.cmake
1>
1> Add the installation prefix of "ITKInternalEigen3" to CMAKE_PREFIX_PATH or
1> set "ITKInternalEigen3_DIR" to a directory containing one of the above
1> files. If "ITKInternalEigen3" provides a separate development package or
1> SDK, be sure it has been installed.
1>Call Stack (most recent call first):
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:76 (include)
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:31 (itk_module_load)
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:129 (_itk_module_config_recurse)
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKConfig.cmake:88 (itk_module_config)
1> src/CMakeLists.txt:24 (FIND_PACKAGE)
1>
1>
1>-- Configuring incomplete, errors occurred!
Logs:
1>CMake Error at CMakeLists.txt:10 (FIND_PACKAGE):
1> Could not find a package configuration file provided by "PlusLib" with any
1> of the following names:
1>
1> PlusLibConfig.cmake
1> pluslib-config.cmake
1>
1> Add the installation prefix of "PlusLib" to CMAKE_PREFIX_PATH or set
1> "PlusLib_DIR" to a directory containing one of the above files. If
1> "PlusLib" provides a separate development package or SDK, be sure it has
1> been installed.
1>
1>
1>-- Configuring incomplete, errors occurred!
Logs:
1>-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19044.
1>CMake Error at C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/Modules/ITKEigen3.cmake:16 (find_package):
1> Could not find a package configuration file provided by "ITKInternalEigen3"
1> (requested version 3.3) with any of the following names:
1>
1> ITKInternalEigen3Config.cmake
1> itkinternaleigen3-config.cmake
1>
1> Add the installation prefix of "ITKInternalEigen3" to CMAKE_PREFIX_PATH or
1> set "ITKInternalEigen3_DIR" to a directory containing one of the above
1> files. If "ITKInternalEigen3" provides a separate development package or
1> SDK, be sure it has been installed.
1>Call Stack (most recent call first):
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:76 (include)
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:31 (itk_module_load)
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:129 (_itk_module_config_recurse)
1> C:/D/PlusBin/itk-int/lib/cmake/ITK-5.3/ITKConfig.cmake:88 (itk_module_config)
1> CMakeLists.txt:102 (find_package)
1>
1>
1>-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: