[Interest] Building Qt apps on Ubuntu 17.10: GL/gl.h missing

Carel Combrink carel.combrink at gmail.com
Mon Oct 23 14:04:02 CEST 2017


I am aware of that that was the solution with pre Ubuntu 17.10.

The issue, or rather question is, is this still the correct packages since
Ubuntu 17.10 uses Wayland instead of X11?
In the past Ubuntu used X11 thus those packages makes sense.
Ubuntu 17.10 does not use X11 so to install a dev package that installs
many X11 packages does not feel like the correct approach.

I know this is not a Qt specific issue, but was hoping that the Qt
community had some answers.


On Mon, Oct 23, 2017 at 1:56 PM, Dan Allen <dan at jerber.co.uk> wrote:

> Hi Carel,
>
> I always install mesa-common-dev for gl.h and what Andre suggests for glu.
>
> Thanks,
>
> Dan.
>
>
> On 23/10/17 12:49, André Hartmann wrote:
>
>> Hi Carel,
>>
>> I usually encounter the problems when linking, and in this case
>>
>>  sudo apt install libglu1-mesa-dev
>>
>> helped me. Not sure if that applies to your problem also.
>>
>> Best regards,
>> André
>>
>> Am 23.10.2017 um 13:21 schrieb Carel Combrink:
>>
>>>
>>>     You're looking for the GL header. Installing the GLES development
>>>     package is
>>>     the wrong solution.
>>>
>>>     Install the GL development package.
>>>
>>>
>>> I have also tried both of the following but they all want to install X11
>>> related packages.:
>>> - libgl-dev
>>> - libgl1-mesa-dev
>>>
>>> Is this "normal" or is there another Wayland specific GL dev
>>> implementation/library that I should install?
>>>
>>>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>>>
>>>
>>
>>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171023/6e4ca97c/attachment.html>


More information about the Interest mailing list