Subject: CGAL users discussion list
List archive
- From: David Rochera <>
- To:
- Subject: Re: [cgal-discuss] OpenGL problem in CGAL
- Date: Thu, 7 Jan 2021 10:55:36 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:C7i3QxFWloa9zEVh6ogDeZ1GYnF86YWxBRYc798ds5kLTJ76p8+7bnLW6fgltlLVR4KTs6sC17OJ9fq8AydYsd6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vLhi6txvdu8YIjYdtNqo8yQbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrR2uqRxwwY7abo+WOvRjYK3SYcgXSnBdUstLTSFNHp+wYokJAuEcPehYtY79p14WoBWwHwasGuLvxSJVjXHq2q01z+QhHh/c3AM6AtkDt2nbrM/yNKgOUeC60rPIwi/YYvxNxTjy8o3IfQo9ofGMR75wdtDRyUY2Gg7Dk16fppDrMSmP2eQRr2iU8fBgVeS3hmM7rwx8oTeiy9sth4XVho8bxF/K+CV5zosrIdC1Skp2bNykHZdNuS+XKZV6T8ctTmxotig317IIt5C5cSUXyJkqwQPUZfKAc4iN+B3jVeCRLC93hHJkZLK/hwuy/lO6xuLgUcm01U5GritDktnWt3ACzQbf6sadSvZ740yv2i6P2hjN5u1YJU04j6nWJp47zrItl5ces17PEyD2lUjwkaSYbF8r+vKy5OTierjmpoGTN4tzigzmN6QhgM2/AeAhPggKUWiX5P2w1LPs8ED5WrlKgfo2kq7WsJDeO8sXvLK2AwhQ0oo76ha/CSmp0MgAkHUZMF5IfAiLgovpNl3UPfz1DPWyj06jnTpr3/zGO6fuApTJLnjNirfherN95lZBxwopytBQ+5JUBa8bIP3pQUL+r8DXAQU8MwOu3+bnCM9x1oQEWWKAGqOZKr/dsUeU5uIzJOmBfJMauDnnJPgh/vLhkH45mUQBcqm0xpsXc2u1Hu9mIkWceXrjmM0NEWYMvgokTezlkkeOUTBJZyX6YqQn+ztuCJ66FZyRAce2kbmZ1WG6GIdXbyZIEBeXAHLwfsKFXfkLLymdK8sknj0fXqW6UNwc0wqzvi/mzr4yLvbI4jZK8tX4xd1t7qvSkwsz/Hp6FYOGwmSVRiZ1mG0PADQ51aQ6rU1mwUqYyvtFhedFH+Be9+8cUhsmLYWOiKthGtXqU0TAeM2IQRCoWJK9EDQpR5UwxdEJJE1yEtHnghHY1DexGOwpkOmAC5Uwt67dxHPsPN1VynDc1aBngUN1bNFIMDiKj7B++0DpAIXJnl+Q3/Kmb6MX3CPX/U+JxmOLtV1YFglqXvOWDjgkekLKoIGhtQv5RLi0BOF/a1YT+Yu5MqJPL+bRoxBGSfPkYomMZmuwnyK0C0/NyO/RKoXtfGoZ0WPWD01Wy1lCr0bDDhA3A2Kam0ybCTVvEVz1ZEa1qrt0o3q+R1M0iQaQYB84jubnylsunfWZDsgr8Pccoi548Gd+F1+41s7WTd2aqFg5cQ==
Sorry, Sebastien, it was for CGAL version 5.1.1.
I downgraded because for the latest version, 5.2, I got an error message like the following when trying to compile the Polyhedron demo:
[ 3%] Building CXX object CMakeFiles/demo_framework.dir/Viewer.cpp.o
/Users/drochera/Downloads/CGAL-David/Polyhedron/Viewer.cpp:1133:31: error:
too few arguments to function call, expected 2, have 1
d->textRenderer->draw(this);
~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/CGAL/Three/TextRenderer.h:142:5: note: 'draw' declared here
void draw(CGAL::Three::Viewer_interface* viewer, const QVector3D &scaler);
^
1 error generated.
make[2]: *** [CMakeFiles/demo_framework.dir/Viewer.cpp.o] Error 1
make[1]: *** [CMakeFiles/demo_framework.dir/all] Error 2
make: *** [all] Error 2
But this might be another different bug... (for the CGAL version 5.1.1 this error does not appear).
Best wishes.
On Thu, 7 Jan 2021 at 09:00, Maxime Gimeno <> wrote:
I opened an issue and I've been working on a fix since yesterday: https://github.com/CGAL/cgal/issues/5334Le jeu. 7 janv. 2021 à 08:47, Sebastien Loriot <> a écrit :What version of CGAL are you using?
Sebastien
On 1/5/21 8:47 PM, David Rochera wrote:
>> Hello, I'm new in CGAL and in this mailing list,
>>
>> I have been trying for many days to solve an OpenGL problem I have
>> when running some CGAL examples and demos but I could not solve it
>> yet. If some of you know the answer to this question I would be very
>> grateful. :)
>>
>> I'm using a fairly new Mac OS, where I have installed the last
>> versions of CGAL, Qt5 and many other optional libraries. The OpenGL
>> support was discontinued for Apple some years ago, so that my GL Core
>> version is up to 4.1. The problem is that after compiling and running
>> some CGAL examples and demos I get the warning:
>>
>> GL 4.3 context initialization failed.
>>
>> Using context 2 . 1 GL
>>
>>
>> This results in not being able to see vertices nor edges in the
>> Basic_viewer. I'm wondering how the 4.1 context could be set in order
>> to avoid such an issue. Looking at the CGAL Qt files, I can guess
>> that the 4.3 context is tried to be set and, if not found, the ES 2.0
>> context is displayed instead. Nevertheless, I guess there should be a
>> way to display the highest possible Mac OS context 4.1 because the
>> Polyhedron demo, for instance, works fine for me. If I run it, I can
>> see vertices and edges and indeed I get:
>>
>> Using context 4 . 1 GL
>>
>>
>> If the problem is regarding the OS, there should be many affected
>> CGAL users but I haven't found many people speaking about it in any
>> forum... so I don't know if I'm missing something.
>>
>>
>> Thank you very much and best wishes,
>>
>>
>> David
>>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/05/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Sebastien Loriot, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/13/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/13/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/14/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/14/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/14/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/14/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/13/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, David Rochera, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Maxime Gimeno, 01/07/2021
- Re: [cgal-discuss] OpenGL problem in CGAL, Sebastien Loriot, 01/07/2021
Archive powered by MHonArc 2.6.19+.