Subject: CGAL users discussion list
List archive
- From: Maxime Gimeno <>
- To:
- Subject: Re: [cgal-discuss] OpenGL problem in CGAL
- Date: Thu, 7 Jan 2021 13:16:11 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:hZwrMxIdnpf2MKtE9NmcpTZWNBhigK39O0sv0rFitYgXKvn5rarrMEGX3/hxlliBBdydt6sbzbCK6eu7BiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagY75+Ngu6oArPusUZj4ZvKLs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZoga1UrhKupRxxzYDXbo+IKvRxYrjQcskGSWdbRMtdSzBND4G6YoASD+QBJ+FYr4zlqlUJtxS/CgisBObxxTRVh3H23Kg63PonEQHBwQctGNcOv27brdX0MacdT/q5zKbJzTXGcfxW3zD95ZPHchAku/6MXLZwfdDNxkkoEgPIl1OdopHqMD2JzOoCqXSb7/Z+WuK1jW4qsw9/rySyy8sxiofEh54Yxk7Z+Ch7z4g7Jd21RU1nbNOqHpVduSOXOYR4TM4tTWxlujg3xLIatZKmYiQHzJQqyh/ZZveafYaI5RfjW/yQITd+nH9ld7O/hwqy8Ui90eLwTNW70FFPriZdk9nMsGoN1x3J5cSdRPt95EGs0iuM2QDL8uxIP1w4mK7BJ5MiwrM8jIcfvEXBEyPshUn7jqube0M58eay8evneK/pppqEOo90lA7+NqMul9S6AesiMwgOW3GX+eO91LH+5EH5TqhGg/8yn6XDv5DaIsMbpqG9AwBLyIos9xG/DzK+3NQZm3kIMk5FdQqZg4T1P1zCOvP1APelj1ixkTpmxerKMqDjD5jJNnTDla3ufbd5605S0gozytVf6opRCr4bL/PzW0rxu8LCAh82Mgy0xvjoCNN61o4FVmKPB7WWMKLWsVOS+u0vJOyMaJcPuDnhM/gl++LujXghlFABcqmmx58XZGmlEfRnOEWWfWfsgswaEWoRpQo/TOnqiEWYXjJJZnayWbg85jAhB468A4fDXNPlvbqawS3uHoFKfnsUTReXAHLwfsOFXe0NYWScOIh6gzkcXP+gTYEmkhqhvQu/x7t8JffP4X4ls4n+3vhp4umGlQ0u7ScmSIOGwmSVRid1mHkJTnk4xudksEllwxCC16Z/xPdXHNgW6/JSWRohLs3hyfdnAez/Sh6UfsuVUE30BZK9EDQpR5QwxcUPagBzAZK5nxXb1m2rBbES0LeEDZhx/qPH1GXqPJVBzCPN26AlylUnWcBSLnaOh6hl9gGVCZSavV+ekvOPfLQd2SOF22aGwGyJ9BVdWR5xVKiDUnEaa03Rhdv870LGCbSpDOJ0YUN61ceeJ/4SOZXShlJcSaK7YYWMUyeKg261QC2w6PaJZYvudX8a2XyEWkcBmgEXu32BMFpnX3vzkyflFDVrUGnXTQb06+An8SG0S0Y1y0eBaEgzj+PoqC5QvuSVTrYo5pxBuColrG8qTlO03taTDNvZ4gQ4I/QabtQ671NKk2nesl4lMw==
I made a PR to fix your specific issue : https://github.com/CGAL/cgal/pull/5336
If you don't want to wait for the next release, you can clone the branch and use it, it is based on CGAL-5.1
Le jeu. 7 janv. 2021 à 10:56, David Rochera <> a écrit :
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
--
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+.