[vtkusers] ANGLE for VTK

Ken Martin ken.martin at kitware.com
Thu Oct 5 13:02:03 EDT 2017


Look at vtk_glew.h.in that is what gets included. For ANDROID builds it
skips the inclusion of glew. So follow that same logic I think.

On Thu, Oct 5, 2017 at 12:03 PM, Elhassan Abdou <elhassan.abdou at gmail.com>
wrote:

> Hi ,
>
> I am trying to build VTK using ANGLE with openglES. I made some
> modifications to the CMake. I set the OPENGL_HAS_EGL to on and set the
> values of accompanyed EGL and opengl values correctly.
>
> While building the vtkRenderingOpenGL2 project, I ran in compilation error
> that some gl functions are defined in both glew and gles files.
> My question is shall I remove glew from the CMake file?
> I read that glew can not be built with opengl es.
> How can I remove this module?.
>
> Regards
> Elhassan
>
> On Wed, Sep 27, 2017 at 9:26 AM, Elhassan Abdou <elhassan.abdou at gmail.com>
> wrote:
>
>> Hi ,
>>
>> I am wondering if there is a tutorial or a whitepaper that explains the
>> CMake files of VTK. I understand CMake but I am afraid to lose my way in
>> the CMake files in the VTK subprojects .
>>
>> Regards
>>
>> Elhassan
>>
>>
>>
>> On Tue, Sep 26, 2017 at 7:16 PM, Ken Martin <ken.martin at kitware.com>
>> wrote:
>>
>>> VTK supports gles 3.0 as part of its iOS/Android support. But you would
>>> need to make some cmakelist and maybe header file changes to build the ES
>>> code paths while on windows. I've never tried it but it seems reasonable.
>>>
>>> On Tue, Sep 26, 2017 at 12:21 PM, Elhassan Abdou <
>>> elhassan.abdou at gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I want to force VTK to use ANGLE gles implementation instead of using
>>>> opengl in windows environment without using QT.
>>>> Any idea how can I do so?
>>>>
>>>>
>>>> Regards
>>>> Elhassan Abdou
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>>>
>>>>
>>>
>>>
>>> --
>>> Ken Martin PhD
>>> Distinguished Engineer
>>> Kitware Inc.
>>> 28 Corporate Drive
>>> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
>>> Clifton Park NY 12065
>>> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
>>>
>>> This communication, including all attachments, contains confidential and
>>> legally privileged information, and it is intended only for the use of the
>>> addressee.  Access to this email by anyone else is unauthorized. If you are
>>> not the intended recipient, any disclosure, copying, distribution or any
>>> action taken in reliance on it is prohibited and may be unlawful. If you
>>> received this communication in error please notify us immediately and
>>> destroy the original message.  Thank you.
>>>
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171005/8887b8dd/attachment.html>


More information about the vtkusers mailing list