-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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 VTK port #678
Add VTK port #678
Conversation
While trying to build this, I hit an issue with the interactions between VTK and HDF5.
Essentially, vtk's Some notes:
I think checking whether 1.10 fixes it is the best option, followed by an attempt to patch, followed by disabling system HDF5. [1] https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/vtk |
I could not reproduce this here (tried with a fresh and most recent version of vcpkg). I did build x64 instead of x86, which may be the difference. I will try to build it for x86 over the next night (qt5 really makes this take a while...). I took a look into HDF5 1.10 and it looks like there are no changes in the code that detects and defines Could you point me to the code where VTK defines ssize_t? The only place I could find such a line in a file named |
I rerun the test and indeed the issue occurs to x86 builds only and is related to netCDF. I started to write a port for netCDF but it seems @ras0219-msft was faster than me ;) Please let me know if there is anything I can help with. |
Thanks for coming back to this :). I didn't want to respond empty-handed, so I went ahead and ported netCDF-c and netCDF-cxx4. Along the way, some changes were needed to szip and hdf5 as well. Unfortunately, VTK relies on the 5 year old, deprecated netCDF-4.2 C++ APIs, so that direction wasn't fruitful. I've since attempted to patch |
I additionally had to override the HDF5 library detection -- due to a bug in CMake's builtin FindHDF5.cmake, VTK was linking the DLL. Could you try out the merged version and make sure it works on your machine? |
Adds a port for the VTK framework (http://www.vtk.org/).
Resolves #22