comp.lang.ada
 help / color / mirror / Atom feed
* Mac Link Undefined Symbols glDispatchCompute, glBindImageTexture and glMemoryBarrier
@ 2019-10-21  6:00 Roger
  2019-10-21  9:28 ` Simon Wright
  0 siblings, 1 reply; 11+ messages in thread
From: Roger @ 2019-10-21  6:00 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-10-24 18:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21  6:00 Mac Link Undefined Symbols glDispatchCompute, glBindImageTexture and glMemoryBarrier Roger
2019-10-21  9:28 ` Simon Wright
2019-10-21 10:10   ` Egil H H
2019-10-21 10:19     ` Egil H H
2019-10-21 19:04       ` Chris M Moore
2019-10-23 12:14       ` Roger
2019-10-22  0:24   ` Roger
2019-10-24 10:43     ` Jere
2019-10-24 12:02       ` Roger
2019-10-24 16:49       ` Dennis Lee Bieber
2019-10-24 18:06       ` Keith Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox