comp.lang.ada
 help / color / mirror / Atom feed
* gl.ali cannot be found, gl.adb must be compiled error...(AdaGide)
@ 2014-08-12 22:41 pincerfae
  2014-08-13 10:14 ` gautier_niouzes
  0 siblings, 1 reply; 4+ messages in thread
From: pincerfae @ 2014-08-12 22:41 UTC (permalink / raw)


I would like to know how it is that I'm getting this error, even though the file exists. I'm using AdaGide (could THAT be the problem?)
I'll explain.


When I attempt to compile and build the 'simple.adb' tutorial, everything goes fine until I get the error 'gl.ali cannot be found', followed by 'gl.adb must be compiled', even though the files are in the same folder.

it's a simple glContext window...

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

* Re: gl.ali cannot be found, gl.adb must be compiled error...(AdaGide)
  2014-08-12 22:41 gl.ali cannot be found, gl.adb must be compiled error...(AdaGide) pincerfae
@ 2014-08-13 10:14 ` gautier_niouzes
  2014-08-13 22:55   ` pincerfae
  0 siblings, 1 reply; 4+ messages in thread
From: gautier_niouzes @ 2014-08-13 10:14 UTC (permalink / raw)


> I would like to know how it is that I'm getting this error, even though the file exists. I'm using AdaGide (could THAT be the problem?)

Certainly. AdaGIDE works with a local option system (the "gnat.ago" files scattered at different places). Finding sources is OK as long as local options are well configured, but for the .ali/.o files, it is more complicated: with the "in-place" (gnatmake: -i) option it is working as soon as a .ali file is already in the final object directory. But upon first build, it is not created there but at the source's place.
The project file system (GPS or gnatmake -P proj_name) has solved all these annoyances. Actually if you want to continue using AdaGIDE, you could have a reference to a single project file like proj_name.gpr in the local options and everything would be fine. But... there is a little obstacle for that (AdaGIDE would need a small adaptation).
_________________________ 
Gautier's Ada programming 
http://www.openhub.net/accounts/gautier_bd

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

* Re: gl.ali cannot be found, gl.adb must be compiled error...(AdaGide)
  2014-08-13 10:14 ` gautier_niouzes
@ 2014-08-13 22:55   ` pincerfae
  2014-08-14  0:49     ` Anh Vo
  0 siblings, 1 reply; 4+ messages in thread
From: pincerfae @ 2014-08-13 22:55 UTC (permalink / raw)


that is something I've noticed with just about every other IDE I've used. You can tell the compiler/linker what directories to use and  it usually works with very few issues.
In AdaGide, as I've discovered, seems to make you jump through lots of hoops.

shameful there aren't many choices for IDEs when it comes to Ada...
thank you for responding.

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

* Re: gl.ali cannot be found, gl.adb must be compiled error...(AdaGide)
  2014-08-13 22:55   ` pincerfae
@ 2014-08-14  0:49     ` Anh Vo
  0 siblings, 0 replies; 4+ messages in thread
From: Anh Vo @ 2014-08-14  0:49 UTC (permalink / raw)


AdaGide is used for quick and simple project. I recommend you use GPS IDE. It is bundled in GNAT GPL 2014. It can be downloaded at http://libre.adacore.com/
 


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

end of thread, other threads:[~2014-08-14  0:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-12 22:41 gl.ali cannot be found, gl.adb must be compiled error...(AdaGide) pincerfae
2014-08-13 10:14 ` gautier_niouzes
2014-08-13 22:55   ` pincerfae
2014-08-14  0:49     ` Anh Vo

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