Skip to content
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

help building against a pre-existing SimpleITK #48

Open
cfhammill opened this issue Mar 25, 2022 · 0 comments
Open

help building against a pre-existing SimpleITK #48

cfhammill opened this issue Mar 25, 2022 · 0 comments

Comments

@cfhammill
Copy link

Hi SimpleITK devs, I'm trying to get the SimpleITK python bindings packaged for the nix package manager so I can use them for work. SimpleITK itself has been packaged https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/simpleitk/default.nix

The packaged version of SimpleITK is compiled with shared objects, and includes the development headers. It also has the following cmake files squirreled away SimpleITKConfig.cmake SimpleITKConfigVersion.cmake SimpleITKTargets.cmake SimpleITKTargets-release.cmake UseSimpleITK.cmake

I think this should be enough to build the python bindings against without recompiling SimpleITK but I've been unable to figure out how to coax the build system to use the pre-existing version. Disabling the superbuild was no help because it expects cmake_install files to exist which do not.

Any suggestions for how I could proceed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant