kerim
(kerim khemraev)
21
I’ve just rebuilt the library and with these two lines of code:
#define vtkRenderingCore_AUTOINIT 2(vtkRenderingOpenGL2,vtkInteractionStyle,vtkRenderingFreeType)
#define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL2)
Everything works fine
Thank you a lot
cean_wang
(cean wang)
22
Which file you put these two lines in? The Cmakefiles.txt or your cpp code?
kerim
(kerim khemraev)
23
Hi,
I put them in my .cpp file where my VTK code is
cean_wang
(cean wang)
24
Thanks.
I changed the setting of RenderingContextOpenGL2 from DEFAULT to Yes and recompiled VTK, seems working now.
1 Like