[University] Labs

Martyn Pike martyn at embeddedconsultinguk.com
Mon Aug 4 17:01:14 CEST 2014


I see a few people are having problems building the labs for Adacore 
University.  Game_Support is delivered in GNAT GPL 2013 and GNAT GPL 
2014 but you may need to setup your PATH environment variable correctly.

I normally don't allow the installer to change my PATH as I like to have 
batch files or scripts set up the specific environment that I want.

For example here is a batch file that allows certainly Lab 1 to be built 
and ran.

set 
PATH=C:\GNATGPL\WIN32\2014\bin;C:\GNATGPL\WIN32\2014\libexec;C:\GNATGPL\WIN32\2014\lib;%PATH%
cmd

I can then run the following to build from the command line :

gprbuild -XMode=Solution -P stars.gpr

or

gprbuild -XMode=Proplem -P stars.gpr

Depending on which build mode that you want.  From the same command 
shell I can run gps_exe and it then starts GPS and the lab can be ran 
according to the Getting Started Presentation.

Hope this helps.

-- 
Martyn Pike
Embedded Consulting UK Ltd
+44-7769-747823
martyn at emconuk.com


More information about the University mailing list