<div dir="ltr">Hi Gib,<div><br></div><div>The error might go away if you link to the vtkRenderingOpenGL library.</div><div>For more info, see the following web page:</div><div><a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines">http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines</a></div><div><br></div><div>I set up one of the students here to use QtCreator with a cmake project,</div><div>and it worked quite well (especially because it allowed the student to</div><div>use the Qt graphical debugger). The cmake/QtCreator combination</div><div>is not as straightforward as qmake/QtCreator, but it's probably a better</div><div>solution for VTK apps.</div><div><br></div><div> - David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 6:58 PM, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Getting there ... the linking now completes without error. But when I run the program I get this:<br>
<br>
Generic Warning: In ..\..\..\VTK-6.3.0\Rendering\Core\vtkRenderer.cxx, line 46<br>
Error: no override found for 'vtkRenderer'.<br>
<br>
Generic Warning: In ..\..\..\VTK-6.3.0\Rendering\Core\vtkRenderWindow.cxx, line 40<br>
Error: no override found for 'vtkRenderWindow'.<br>
<br>
Can some kind soul explain what this means?<br>
<br>
Thanks<br>
Gib<br>
________________________________________<br>
From: vtkusers [<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] on behalf of Gib Bogle [<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>]<br>
Sent: Monday, 16 November 2015 2:54 p.m.<br>
To: harshad1; <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [FORGED] Re: [vtkusers] VTK 6.3 in Qt Creator<br>
<div class="HOEnZb"><div class="h5"><br>
I use cmake everywhere except for building Qt programs, so I understand what you are saying. I really like Qt Creator, though.<br>
<br>
I have linked a lot more libraries, and now I'm down to only 3 unresolved externals:<br>
<br>
vtkRenderingCore-6.3.lib(vtkAreaPicker.obj) : error LNK2019: unresolved external symbol "public: static class vtkExtractSelectedFrustum * __cdecl vtkExtractSelectedFrustum::New(void)" (?New@vtkExtractSelectedFrustum@@SAPAV1@XZ) referenced in function "protected: __thiscall vtkAreaPicker::vtkAreaPicker(void)" (??0vtkAreaPicker@@IAE@XZ)<br>
vtkRenderingCore-6.3.lib(vtkAreaPicker.obj) : error LNK2019: unresolved external symbol "public: void __thiscall vtkExtractSelectedFrustum::CreateFrustum(double * const)" (?CreateFrustum@vtkExtractSelectedFrustum@@QAEXQAN@Z) referenced in function "protected: void __thiscall vtkAreaPicker::DefineFrustum(double,double,double,double,class vtkRenderer *)" (?DefineFrustum@vtkAreaPicker@@IAEXNNNNPAVvtkRenderer@@@Z)<br>
vtkRenderingCore-6.3.lib(vtkAreaPicker.obj) : error LNK2019: unresolved external symbol "public: int __thiscall vtkExtractSelectedFrustum::OverallBoundsTest(double *)" (?OverallBoundsTest@vtkExtractSelectedFrustum@@QAEHPAN@Z) referenced in function "protected: int __thiscall vtkAreaPicker::ABoxFrustumIsect(double * const,double &)" (?ABoxFrustumIsect@vtkAreaPicker@@IAEHQANAAN@Z)<br>
release\scell_GUI.exe : fatal error LNK1120: 3 unresolved externals<br>
<br>
I'm trying to track down the required library.<br>
________________________________________<br>
From: vtkusers [<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] on behalf of harshad1 [<a href="mailto:hsriniv2@ncsu.edu">hsriniv2@ncsu.edu</a>]<br>
Sent: Monday, 16 November 2015 2:50 p.m.<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] VTK 6.3 in Qt Creator<br>
<br>
For what it's worth, I gave up on this after an hour of trying and switched<br>
to cmake. Haven't looked back since...<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-6-3-in-Qt-Creator-tp5734989p5734990.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-6-3-in-Qt-Creator-tp5734989p5734990.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>
_______________________________________________<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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>