[vtkusers] Error compiling OpenGL on Linux

Paulo Carvalho paulo.r.m.carvalho at gmail.com
Wed Dec 26 16:26:05 EST 2018


Hello, Ricardo,

   Common sources of problems with OpenGL (both for linking and runtime)
are old graphics card driver and lack of GLU libraries.  Make sure these
are installed and upgraded to latest version.

cheers,

Paulo

Em qua, 26 de dez de 2018 às 18:00, Ricardo Santos <
ricardo.c.r.santos at gmail.com> escreveu:

> And, I have GLEW-dev packcage installed on my Linux.
>
> I am Running Ubuntu 18,04, furthermore
>
> On Wed, Dec 26, 2018 at 5:51 PM Ricardo Santos <
> ricardo.c.r.santos at gmail.com> wrote:
>
>> Hello everyone!
>>
>>      I am trying to build VTK on linux and I am having a problem that I
>> do not understand with OpenGL.
>>
>> On CMake I have left the OpenGL2 option on the variable on
>> VTK_RENDERING_BACKEND and I receive the error message during make:
>>
>> (...)
>> [ 41%] Built target vtkRenderingOpenGL2Java
>> [ 42%] Built target vtkRenderingOpenGL2JavaJavaClasses
>> [ 42%] Linking CXX executable ../../bin/vtkProbeOpenGLVersion
>> Rendering/OpenGL2/CMakeFiles/vtkProbeOpenGLVersion.dir/build.make:108:
>> recipe for target 'bin/vtkProbeOpenGLVersion' failed
>> CMakeFiles/Makefile2:7640: recipe for target
>> 'Rendering/OpenGL2/CMakeFiles/vtkProbeOpenGLVersion.dir/all' failed
>> Makefile:140: recipe for target 'all' failed
>>
>>
>>       Have anyone gotten a problem like this one?
>>
>>     Btw, if I set the VTK_RENDERING_BACKEND variable to None, I get the
>> same error.
>>
>> Ricardo Santos
>>
> _______________________________________________
> 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:
> https://vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20181226/3976c54c/attachment.html>


More information about the vtkusers mailing list