-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add PyChaste Support for VTK 9 #24
Comments
|
Steps to reproduce the CMake configuration errors:
|
@fcooper8472 suggests investigating fixes like those done in https://github.com/Chaste/Chaste/pull/152/files |
There's now a github action testing this: https://github.com/Chaste/PyChaste/actions/runs/9082771049/job/24959931938 |
CMake errors are from additional VTK components: RenderingFreeType # needs Freetype::Freetype
RenderingOpenGL2 # needs X11::X11 and GLEW::GLEW
WrappingPythonCore # needs Python3::Module |
The errors seem to go away when the extra package modules are searched for directly in Chaste. Possibly subsequent calls to ---find_package(Python3 3.5 )
+++find_package(Python3 3.5 REQUIRED COMPONENTS Interpreter Development) find_package(
VTK COMPONENTS CommonCore CommonDataModel FiltersCore FiltersGeneral FiltersGeneric FiltersGeometry
--- FiltersModeling FiltersSources IOCore IOGeometry IOLegacy IOParallelXML IOXML REQUIRED
+++ FiltersModeling FiltersSources IOCore IOGeometry IOLegacy IOParallelXML IOXML
+++ FiltersProgrammable FiltersVerdict InteractionStyle IOImage IOMovie RenderingAnnotation RenderingCore
+++ RenderingFreeType RenderingOpenGL2 WrappingPythonCore REQUIRED
) |
It still works when |
PyChaste works with VTK9 but needs the cmake find package call to be done above the project scope. This will be done directly in the PyChaste merge into Chaste trunk: Chaste/Chaste#273 |
This is now fixed as of Chaste/Chaste@a51678b |
Description
API changes from VTK 8 to 9: https://vtk.org/Wiki/VTK/API_Changes_8_2_0_to_9_0_0
The text was updated successfully, but these errors were encountered: