Closed rezowan099 closed 8 months ago
Hi, Sorry for not responding. Are you still looking for a solution? First, VTK 9.0 is not running well together with dicom2mesh, respectively some side components which can be enabled. I use VTK 7. Second, Qt is only used when you build the GUI (BUILD_GUI=ON) - is that what you really want?
I'm having a similar problem. The config option BUILD_GUI isn't available in the cmake UI like it's shown in the README.
EDIT: nvm, figured it out. Have to manually add /opt/homebrew/opt/qt5/lib/cmake/Qt5
in the ccmake config screen.
That's good to hear that it worked out. I am just wondering, do you really want to use the GUI? This is a very quick (and dirty) implementation, which does not offer all the features. Back in days, I made that for our product managers. There exists much better GUI applications for transforming a DICOM into a mesh - take a look at ITK-SNAP.
Oh, I didn't want to use the GUI (and didn't use it). It just seems to have qt as a mandatory dependency in order to build on macOS for whatever reason although it's possible I was doing something wrong. But when you install VTK on macOS through homebrew, it seems to also install Qt anyway, so it's not a big deal.
FYI this is still broken.
Thank you for the comment. In your case, the cmake error is generated within VTK too? Under OSX, I am building VTK manually. I don't know how the brew version is built. Regarding Qt6 I do not have any experience. Do you want to use it for building the little GUI which comes with Dicom2Mesh? If you are only interested in the commandline tool (as most are), Qt should be not required.
I have installed vtk 9.0 which has installed qt5 version 5.15.2 as dependency automatically. Now while compiling each time i'm getting the following error
Please someone suggest how can I solve this issue. Here you can find my CMakeError.log and CMakeOutput.log files CMakeError.log CMakeOutput.log