[vtk-developers] CMake forgets to configure gl2ps for the vtkRenderingOpenGL backend

FrankHeimes frank.heimes at live.de
Fri Sep 23 12:02:52 EDT 2016


Hi David,

thank you so much for helping me.
Now I get this error from cmake even though the OpenGL2 renderer is not explicitly enabled on the command line:


CMake Error at Rendering/OpenGL2/CMakeLists.txt:2 (message):
  vtkRenderingOpenGL2 cannot be built with vtkRenderingOpenGL, please disable one of them.


As the output of cmake shows, the dependency obiously comes from:

--  * vtkRenderingOpenGL2, needed by vtkRenderingLIC.
--  * vtkRenderingLIC, needed by VTK_Group_Rendering.

Where VTK_Group_Rendering seems to be a core component.

Can VTK 6.3 be built without dependency on OpenGL2 in the first place?


Best regards,
Frank
________________________________
Siemensstr. 16, 76337 Waldbronn, Germany, Tel. +49 (0) 176 / 45989587


________________________________
Von: David Lonie-2 [via VTK] <ml-node+s1045678n5740509h38 at n5.nabble.com>
Gesendet: Freitag, 23. September 2016 16:58
An: FrankHeimes
Betreff: Re: CMake forgets to configure gl2ps for the vtkRenderingOpenGL backend

On Wed, Sep 21, 2016 at 5:17 AM, FrankHeimes <[hidden email]</user/SendEmail.jtp?type=node&node=5740509&i=0>> wrote:
I'm building VTK 6.3 using CMake 3.5.2 and Visual Studio 2015 on Windows.

The call to   cmake ... -DVTK_RENDERING_BACKEND_DEFAULT:STRING=OpenGL2
succeeds with no problems. However, we need to stick to OpenGL and avoid
dependencies on OpenGL2 features.

The call to   cmake ... -DVTK_RENDERING_BACKEND_DEFAULT:STRING=OpenGL  fails

The usual way to set the backend is with VTK_RENDERING_BACKEND, not VTK_RENDERING_BACKEND_DEFAULT. Can you try changing your cmake command to set this variable instead?

Dave

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers



________________________________
If you reply to this email, your message will be added to the discussion below:
http://vtk.1045678.n5.nabble.com/CMake-forgets-to-configure-gl2ps-for-the-vtkRenderingOpenGL-backend-tp5740470p5740509.html
To unsubscribe from CMake forgets to configure gl2ps for the vtkRenderingOpenGL backend, click here<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5740470&code=ZnJhbmsuaGVpbWVzQGxpdmUuZGV8NTc0MDQ3MHwtMzg3NjA2OTYy>.
NAML<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://vtk.1045678.n5.nabble.com/CMake-forgets-to-configure-gl2ps-for-the-vtkRenderingOpenGL-backend-tp5740470p5740512.html
Sent from the VTK - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160923/aacca3f0/attachment.html>


More information about the vtk-developers mailing list