mkhalil
(khalil)
July 27, 2019, 10:25am
1
Hi All!!
So, I am new to VTK. I want to use VTK to visualize and volume render MRI DICOM images.
I have been trying to make the sphere example work (https://vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere ). But with no luck!
I was first trying to make it work on windows. I am using the latest VTK and Cmake versions. I follow the configuration and build steps on the VTK website.
I don’t understand what is happening. I configured and generated the VTK correctly (I think). I checked the VTK_examples.
Could someone help me please :)?
Best regards,
Khalil
lorensen
(Bill Lorensen)
July 28, 2019, 12:44am
2
Did you build VTK? I see the ccmake but did you build VTK afterward?
Otherwise, your commands look correct. It works for me…
Bill
1 Like
lorensen
(Bill Lorensen)
July 28, 2019, 12:50am
3
You need to build VTK. I just tried building Sphere against a VTK that has been configured but not built. I get the same bad results you get.
1 Like
mkhalil
(khalil)
July 28, 2019, 7:24am
4
Hi Bill!
Thank you for your reply!
I actually start building the VTK, but I am getting an error that I dont understand:
amaclean
(Andrew Maclean)
July 28, 2019, 11:08am
5
There is a problem with the current VTK build. If you are using cmake-gui you need to configure VTK as shown here:
Once you do this the build will work.
Also please use: Sphere the link you mentioned has been superseded by the new VTK Examples site.
1 Like
amaclean
(Andrew Maclean)
July 30, 2019, 3:56am
6
The problem with ADIOS2 seems to have been fixed now. So you can set the above value back to DEFAULT.
1 Like
mkhalil
(khalil)
July 31, 2019, 10:15am
7
Thank you guys for the help, really!
I got the Sphere example to work now I can move on with my project.
amaclean
(Andrew Maclean)
July 31, 2019, 10:52am
8
That’s good news. Do keep in mind the VTK Examples for inspiration and ideas.
1 Like