-
-
Notifications
You must be signed in to change notification settings - Fork 665
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
Eigen not installed correctly, unable to build against installed ITK #584
Comments
Sorry for that Brad, on it... |
Cannot reproduce. Testing build tree:
Configure and build OK. Testing install tree:
Configure and build OK. Could you post the results of:
Mine looks:
|
Here is the output of the requested command:
Please see this line in SimpleITK's external ITK project which defines |
I see, I think the offending line was changed in this commit #562 and the Eigen3 patch from there is here: #567. - set(Eigen3_DIR_INSTALL "${CMAKE_INSTALL_PREFIX}/${ITK_INSTALL_LIBRARY_DIR}/cmake/ITK-${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}/Modules")
+ set(Eigen3_DIR_INSTALL "\${ITK_MODULES_DIR}") That Eigen3_DIR_INSTALL is used in the set(ITKEigen3_LOADED 1)
set(ITKEigen3_ENABLE_SHARED "0")
set(ITKEigen3_DEPENDS "")
set(ITKEigen3_PUBLIC_DEPENDS "")
set(ITKEigen3_TRANSITIVE_DEPENDS "")
set(ITKEigen3_PRIVATE_DEPENDS "")
set(ITKEigen3_LIBRARIES "ITKInternalEigen3::Eigen")
set(ITKEigen3_INCLUDE_DIRS "${ITK_INSTALL_PREFIX}/include/ITK-5.0")
set(ITKEigen3_LIBRARY_DIRS "")
set(ITKEigen3_RUNTIME_LIBRARY_DIRS "${ITK_INSTALL_PREFIX}/lib")
set(ITKEigen3_TARGETS_FILE "")
set(ITKEigen3_FACTORY_NAMES "")
set(ITKInternalEigen3_DIR "${ITK_MODULES_DIR}")
find_package(ITKInternalEigen3 3.3 REQUIRED CONFIG)
I see, so the problem is that the cmake files shouldn't be installed in the I'll fix it. |
Found the offender:
I guess that should be equal to |
Great! |
When building SimpleITK's super build against ITK master, I am getting configuration errors when configuring SimpleITK against the install ITK.
I'm configuring SimpleITK with:
cmake -DITK_GIT_TAG:STRING=master ~/src/SimpleITK/SuperBuild/
It builds ITK fine, and installs it but then during the SimpleITK configuration the following happens:
I'm suspicious of #580.
The text was updated successfully, but these errors were encountered: