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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:1975:: with SMTP id g50mr17296158qtk.268.1571637625012; Sun, 20 Oct 2019 23:00:25 -0700 (PDT) X-Received: by 2002:aca:5202:: with SMTP id g2mr18247012oib.155.1571637624702; Sun, 20 Oct 2019 23:00:24 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!o24no8814311qtl.0!news-out.google.com!q23ni13qtl.1!nntp.google.com!o24no8814299qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 20 Oct 2019 23:00:24 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=121.45.193.235; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 121.45.193.235 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Mac Link Undefined Symbols glDispatchCompute, glBindImageTexture and glMemoryBarrier From: Roger Injection-Date: Mon, 21 Oct 2019 06:00:25 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57325 Date: 2019-10-20T23:00:24-07:00 List-Id: I am trying to implement the OpenGL Redbook particle simulator example in Ada using OpenGLAda. glDispatchCompute, glBindImageTexture and glMemoryBarrier are not currently available in OpenGLAda so I am attempting to update OpenGLAda to include them. Previously I have updated OpenGLAda with numerous OpenGL functions. However, when I attempt to implement glDispatchCompute, glBindImageTexture and glMemoryBarrier, linking any of my OpenGLAda examples fails with: Undefined symbols for architecture x86_64: "_glBindImageTexture", referenced from: _gl__objects__textures__bind_image in libOpenGLAda.a(gl-objects-textures.o) "_glDispatchCompute", referenced from: _gl__objects__programs__dispatch_compute in libOpenGLAda.a(gl-objects-programs.o) "_glMemoryBarrier", referenced from: _gl__objects__programs__memory_barrier in libOpenGLAda.a(gl-objects-programs.o) Any suggestions as to why these undefined symbols occur will be greatly appreciated. Thanks in advance, Roger