<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Enrico,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">VTK7 uses OpenGL2 rendering backed by default. Can you reconfigure your VTK7 build to use OpenGL backend? Or replace OpenGL by OpenGL2 in your makefiles?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 9, 2016 at 4:30 AM, enrico <span dir="ltr"><<a href="mailto:direction@4estudios.com" target="_blank">direction@4estudios.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I know the problem is related to this:<br>
<a href="http://www.vtk.org/Wiki/VTK/Build_System_Migration" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK/Build_System_Migration</a><br>
<br>
<br>
I followed the instructions adding the two macro before any other VTK header<br>
but i get the same error:<br>
<br>
Generic Warning: In<br>
/home/direction/Downloads/VTK-7.0.0/Rendering/Core/vtkPolyDataMapper.cxx,<br>
line 28<br>
Error: no override found for 'vtkPolyDataMapper'.<br>
<br>
<br>
So to be sure to have the preprocessor macro before any other header i have<br>
defined the two macro in the .pro file as:<br>
<br>
DEFINES +=<br>
vtkRenderingCore_AUTOINIT="\"4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)\""<br>
DEFINES += vtkRenderingVolume_AUTOINIT="\"1(vtkRenderingVolumeOpenGL)\""<br>
<br>
And correctly in the generated makefile i see:<br>
<br>
#############################################################################<br>
# Makefile for building: TestVTKwidget<br>
# Generated by qmake (3.0) (Qt 5.6.0)<br>
# Project: ../TestVTKwidget/TestVTKwidget.pro<br>
# Template: app<br>
# Command: /home/direction/Qt/5.6/gcc_64/bin/qmake -spec linux-g++<br>
CONFIG+=debug CONFIG+=qml_debug -o Makefile<br>
../TestVTKwidget/TestVTKwidget.pro<br>
#############################################################################<br>
<br>
MAKEFILE = Makefile<br>
<br>
####### Compiler, tools and options<br>
<br>
CC = gcc<br>
CXX = g++<br>
DEFINES =<br>
-DvtkRenderingCore_AUTOINIT="4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)"<br>
-DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL)"<br>
-DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB<br>
CFLAGS = -pipe -g -Wall -W -D_REENTRANT -fPIC $(DEFINES)<br>
<br>
<br>
<br>
What i am missing? Can anyone help me?<br>
<br>
Many thanks,<br>
<br>
Enrico Mautone.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Qt5-6-VTK7-error-no-override-found-for-vtkPolyDataMapper-tp5737596.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Qt5-6-VTK7-error-no-override-found-for-vtkPolyDataMapper-tp5737596.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>