From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.68.MISMATCH!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx13.am4.POSTED!not-for-mail Subject: Re: Mac Link Undefined Symbols glDispatchCompute, glBindImageTexture and glMemoryBarrier Newsgroups: comp.lang.ada References: <87d6236c-62bc-4de7-9dab-d5bb687c229c@googlegroups.com> From: Chris M Moore User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: http://netreport.virginmedia.com NNTP-Posting-Date: Mon, 21 Oct 2019 19:04:45 UTC Organization: virginmedia.com Date: Mon, 21 Oct 2019 20:04:44 +0100 X-Received-Bytes: 2102 X-Received-Body-CRC: 4195963119 Xref: reader01.eternal-september.org comp.lang.ada:57329 Date: 2019-10-21T20:04:44+01:00 List-Id: On 21/10/2019 11:19, Egil H H wrote: > On Monday, October 21, 2019 at 12:10:53 PM UTC+2, Egil H H wrote: >> On Monday, October 21, 2019 at 11:28:37 AM UTC+2, Simon Wright wrote: >>> Could they be (C) macros? >> >> Could your bindings be a bit old? > > Sorry, should be "bindings too new" or "OpenGL library too old", of course... > https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBindImageTexture.xhtml says "The glBindImageTexture is available only if the GL version is 4.2 or greater." https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDispatchCompute.xhtml says v4.3. https://www.khronos.org/opengl/wiki/GLAPI/glMemoryBarrier says 4.2. I don't know if this is up to date but https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_intro/opengl_intro.html says "supporting versions of OpenGL from 1.x through OpenGL 3.2". Conclusion "OpenGL library too old". -- sig pending (since 1995)