comp.lang.ada
 help / color / mirror / Atom feed
From: pincerfae@gmail.com
Subject: openglada build problem.
Date: Sat, 26 Jul 2014 15:23:09 -0700 (PDT)
Date: 2014-07-26T15:23:09-07:00	[thread overview]
Message-ID: <6dd12748-8445-4a23-873b-1ecf5bed04ae@googlegroups.com> (raw)

I hate to be a bother, but I'm having issues with the openglada bindings.

I do everything right via the gprbuild option, as instructed in the readme.

The problem I have is when I try to build and run the included examples.

gnatmake -d -PC:\openglada\glfw_test.gpr -XGLFW_Version=2 -XLIBRARY_TYPE=static -XAuto_Exceptions=enabled -XMode=debug -XWindowing_System=windows
gnatbind -x C:\openglada\obj\glfw_test-display.ali
gnatlink C:\openglada\obj\glfw_test-display.ali -g C:\openglada\lib\libGlfwAda.a C:\openglada\lib\libOpenGLAda.a -lglfw -lwinmm -lgdi32 -lOpenGL32 -lGdi32 -o C:\openglada\bin\glfw_test-display.exe
c:/gnat/2014/bin/../libexec/gcc/i686-pc-mingw32/4.7.4/ld.exe: cannot find -lglfw
collect2.exe: error: ld returned 1 exit status
gnatlink: error when calling C:\GNAT\2014\bin\gcc.exe
gnatmake: *** link failed.

this is run within GNAT GPS..
what am I doing wrong?

             reply	other threads:[~2014-07-26 22:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-26 22:23 pincerfae [this message]
2014-07-27  7:16 ` openglada build problem Dmitry A. Kazakov
2014-07-27 21:12   ` pincerfae
2014-07-27 21:20     ` Nasser M. Abbasi
2014-07-27 22:13     ` Simon Wright
2014-07-27 22:36       ` Nasser M. Abbasi
2014-07-28  2:48         ` pincerfae
2014-07-28  3:46     ` Luke A. Guest
2014-07-28 17:58       ` pincerfae
2014-07-28 18:30       ` pincerfae
2014-07-29  1:05       ` pincerfae
2014-07-29  8:12         ` Dmitry A. Kazakov
replies disabled

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