-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Installation - fix CGAL_ITK_support
#7858
Conversation
and adapt the CMakeLists that were using it
The error in the CI is the following
@SaillantNicolas can you please check how ITK is installed on the CI machine, and if these libs are really not available? cc @lrineau |
Now almost all dependencies of the CGAL 3D demo are installed. Exceptions: ``` -- Missing optional packages: * LASLIB, A library for LIDAR I/O. Required for reading or writing LAS files. * SCIP, A solver for mixed integer programming. Can be used as a solver in the surface_reconstruction_plugin plugin. * OpenGR * libpointmatcher ```
I think I fixed that with the three commits https://github.com/CGAL/cgal/pull/7858/files/0b73361226b11e06520c32970178e016cc0d200d..0a9392c778ab7e485603ed0658e1f679b0be44bb. I used https://github.com/nektos/act to first verify locally (using act's Docker images), to create cb5bd56. Then there was an issue with Github's version of Ubuntu. Fixed in 0a9392c. @SaillantNicolas You should install https://github.com/nektos/act on your machine. That is a very useful tool to test Github workflows on your local machine. |
... Actually it was fixed by commit 74896b9: install ITK 5 instead of ITK 4. |
In the testsuite CGAL-6.0-Ic-112, 2 platforms are failing because of this PR (Ubuntu-Latest-NO_DEPRECATED_CODE and Ubuntu-GCC_master_CXX20-Release), complaining about
and with lots of warnings from ITK-4.13. Is it possible to update those 2 platforms to ITK-5, and add the needed libraries please? @sloriot |
Actually, there are Linux distributions (including the one I use: Fedora 39) that are currently stuck with ITK version 4.13, and I would like to stay compatible with that version of ITK. I will modify this PR accordingly. |
That will allow to be compatible with ITK version 4.13 and 5.x.
CGAL_ITK_support
CGAL_ITK_support
In commit 9262c6a I have re-added a file |
Errors in the testsuite |
Successfully tested in CGAL-6.0-Ic-116 |
Summary of Changes
This PR modifies
CGAL_ITK_support.cmake
, so that it uses imported targets fromITKConfig.cmake
.Note that for now
include(${ITK_USE_FILE})
is still neededITKThresholding
does not have a lib, so we do not link the libraries and only include the filesRelease Management