comp.lang.ada
 help / color / mirror / Atom feed
* Trying Gnoga
@ 2020-07-06  9:55 ldries46
  2020-07-06 10:30 ` Dmitry A. Kazakov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ldries46 @ 2020-07-06  9:55 UTC (permalink / raw)


I want to try Gnoga but when running  tutorial 1 I get the following 
messages:
[2020-07-06 11:33:14] 
C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:1:06: unknown project 
file: "settings.gpr"
[2020-07-06 11:33:14] 
C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:2:06: unknown project 
file: "gnoga.gpr"
I am running GNAT community 2020 on Windows 10.
I have tried to include the directories in the Path and later on in 
GPR_PROJECT_PATH but that does not work.
Which environment variable must contain the path or is there another way?

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

* Re: Trying Gnoga
  2020-07-06  9:55 Trying Gnoga ldries46
@ 2020-07-06 10:30 ` Dmitry A. Kazakov
  2020-07-06 12:14 ` Jere
  2020-07-06 14:17 ` Jeffrey R. Carter
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry A. Kazakov @ 2020-07-06 10:30 UTC (permalink / raw)


On 06/07/2020 11:55, ldries46 wrote:
> I want to try Gnoga but when running  tutorial 1 I get the following 
> messages:
> [2020-07-06 11:33:14] 
> C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:1:06: unknown project 
> file: "settings.gpr"
> [2020-07-06 11:33:14] 
> C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:2:06: unknown project 
> file: "gnoga.gpr"
> I am running GNAT community 2020 on Windows 10.
> I have tried to include the directories in the Path and later on in 
> GPR_PROJECT_PATH but that does not work.
> Which environment variable must contain the path or is there another way?

ADA_PROJECT_PATH. But they are same. Run cmd. Type

    echo %ADA_PROJECT_PATH%

Verify that the directory separator is semicolon, not colon.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

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

* Re: Trying Gnoga
  2020-07-06  9:55 Trying Gnoga ldries46
  2020-07-06 10:30 ` Dmitry A. Kazakov
@ 2020-07-06 12:14 ` Jere
  2020-07-06 14:17 ` Jeffrey R. Carter
  2 siblings, 0 replies; 4+ messages in thread
From: Jere @ 2020-07-06 12:14 UTC (permalink / raw)


On Monday, July 6, 2020 at 5:56:04 AM UTC-4, ldries46 wrote:
> I want to try Gnoga but when running  tutorial 1 I get the following 
> messages:
> [2020-07-06 11:33:14] 
> C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:1:06: unknown project 
> file: "settings.gpr"
> [2020-07-06 11:33:14] 
> C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:2:06: unknown project 
> file: "gnoga.gpr"
> I am running GNAT community 2020 on Windows 10.
> I have tried to include the directories in the Path and later on in 
> GPR_PROJECT_PATH but that does not work.
> Which environment variable must contain the path or is there another way?

Are you trying to run the tutorial manually or through the Make command
provided by the Gnoga environment?  I believe you can do a "make gnoga" 
and then you can do a "make tutorials".  Note that some tutorials require
other things to be built, so you might consider just doing a "make all"
instead of the "make gnoga".  Note that AdaCore changed how the GNAT
compiler works from the 2019 version, so you may get compiler
errors from the 2020 version.  You might have to use the 2019 version
to compile it until Gnoga is updated.

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

* Re: Trying Gnoga
  2020-07-06  9:55 Trying Gnoga ldries46
  2020-07-06 10:30 ` Dmitry A. Kazakov
  2020-07-06 12:14 ` Jere
@ 2020-07-06 14:17 ` Jeffrey R. Carter
  2 siblings, 0 replies; 4+ messages in thread
From: Jeffrey R. Carter @ 2020-07-06 14:17 UTC (permalink / raw)


On 7/6/20 11:55 AM, ldries46 wrote:
> I want to try Gnoga but when running  tutorial 1 I get the following messages:
> [2020-07-06 11:33:14] C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:1:06: 
> unknown project file: "settings.gpr"
> [2020-07-06 11:33:14] C:\GNAT\gnoga\tutorial\tutorial-01\tutorial_01.gpr:2:06: 
> unknown project file: "gnoga.gpr"
> I am running GNAT community 2020 on Windows 10.
> I have tried to include the directories in the Path and later on in 
> GPR_PROJECT_PATH but that does not work.
> Which environment variable must contain the path or is there another way?

Normally Gnoga and its tutorials are built using make. Typing "make" will show 
you the options. "make all" is usually good. You may need "make tutorials" if 
that doesn't build them.

Note that GNAT CE 2020 has an error that prevents building one of the demos 
(reported here earlier). Note also that some compilations are done using 
-gnat2005, which is not supported by GNAT CE 2020.

-- 
Jeff Carter
"In the frozen land of Nador they were forced to
eat Robin's minstrels, and there was much rejoicing."
Monty Python & the Holy Grail
70

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

end of thread, other threads:[~2020-07-06 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06  9:55 Trying Gnoga ldries46
2020-07-06 10:30 ` Dmitry A. Kazakov
2020-07-06 12:14 ` Jere
2020-07-06 14:17 ` Jeffrey R. Carter

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