VTK on conan centre

Hey guys, I wanted to ask if Kitware/VTK would consider/has considered adding a VTK recipe on Conan 2.0: C and C++ Open Source Package Manager . There might be good reasons as to why you haven’t done so already, but nonetheless I thought I would ask since I need to use VTK on a conan project and there doesn’t seem to be a great way of doing so in conan, except from writing my own recipe (which I did).

FYI there is a recipe on GitHub but not on the conan registry, but it is slightly incomplete/outdated see.

This post is more to spark a discussion on the subject and gather the community’s thoughts.

VTK maintainers are not packagers (apart the python wheel obviously) :slight_smile:

But you definitely can add and maintain a conan recipe for VTK if you want to!

1 Like

Hello,

I have a full-fledged working Conan 2 recipe for VTK 9.3.1 here gammaray/conan2_recipes/vtk/9.3.1 at build_with_conan · PauloCarvalhoRJ/gammaray · GitHub . Feel free to use it, though I recommend reviewing the configuration part (the generate() callback) and the Qt dependency.

best,

PC

1 Like

Fair, I will find some time in the coming weeks to upload it to conan centre. I would be more than happy if some of the VTK maintainers chimed in the PR for quality assurance (but also security).

Awesome, thanks a lot! Surprisingly my recipe looks awfully similar

Of course!

1 Like