Re: [Gnoga-list] Rebuilding from scratch

2021-05-10 Thread Chip at Twirling Hall
Thanks for the help!

I got it working by pointing my project file to the GPR file in gnoga/src,,,

Is there any documentation that talks about the Gnoga paradigm?  Application 
vs. Window vs. View vs. Element, etc.?

I appreciate the aid,
Chip

Chip Staples
434-989-3995
c...@twirling-hall.com
On 2021-05-10 15:14:31, Blady via Gnoga-list  
wrote:

> Le 10 mai 2021 à 18:38, Joakim Dahlgren Strandberg a écrit :
>
> Hi Chip,
>
> I don't usually install Gnoga but download it into a directory and then in 
> the project (gpr-file) that I create I with the gnoga/src/gnoga.gpr file. You 
> may need to edit the gnoga.gpr file or some other file it depends upon in 
> order to make the Ada code compile because it usually doesn't work out of the 
> box, and it's because Gnoga wasn't intended to be used like that. It is my 
> impression Gnoga is intended to be used through building all the Gnoga code 
> and then install gnoga globally so that all Gnoga applications use one and 
> the same version of Gnoga. I can imagine that the global installation of 
> Gnoga has its spec files readonly and the package bodies are not included 
> because the code has been pre-compiled into a static library. I prefer to be 
> able to edit the Gnoga code directly, compile through the GPS and see the 
> effect of the Gnoga code changes immediately and that each of my gnoga 
> projects has its own version of Gnoga source code.
>
> I hope you are successfull in your attempts to re-compile all the Ada code 
> with one and the same Ada compiler. Perhaps it's a path issue?

Hello,

Indeed there are two ways of using Gnoga.

On one hand, as Joakim said, add the path of gnoga.gpr in your GPR file and 
build all together Gnoga and your program.
See more details on §4:
https://sourceforge.net/p/gnoga/code/ci/dev_1.6/tree/INSTALL

On the other hand, install Gnoga with "make install" and add the path of the 
installed gnoga.gpr in your GPR file and build your program.
Tips: "make help" will give your actual INSTALL folder at line PREFIX.
See more details on §1:
https://sourceforge.net/p/gnoga/code/ci/dev_1.6/tree/INSTALL
This latter way needs that you use the same compiler for installing Gnoga and 
your program.

HTH, Pascal.
https://blady.pagesperso-orange.fr




___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


Re: [Gnoga-list] Rebuilding from scratch

2021-05-10 Thread Blady via Gnoga-list

> Le 10 mai 2021 à 18:38, Joakim Dahlgren Strandberg  a écrit :
> 
> Hi Chip,
> 
> I don't usually install Gnoga but download it into a directory and then in 
> the project (gpr-file) that I create I with the gnoga/src/gnoga.gpr file. You 
> may need to edit the gnoga.gpr file or some other file it depends upon in 
> order to make the Ada code compile because it usually doesn't work out of the 
> box, and it's because Gnoga wasn't intended to be used like that. It is my 
> impression Gnoga is intended to be used through building all the Gnoga code 
> and then install gnoga globally so that all Gnoga applications use one and 
> the same version of Gnoga. I can imagine that the global installation of 
> Gnoga has its spec files readonly and the package bodies are not included 
> because the code has been pre-compiled into a static library. I prefer to be 
> able to edit the Gnoga code directly, compile through the GPS and see the 
> effect of the Gnoga code changes immediately and that each of my gnoga 
> projects has its own version of Gnoga source code.
> 
> I hope you are successfull in your attempts to re-compile all the Ada code 
> with one and the same Ada compiler. Perhaps it's a path issue?

Hello,

Indeed there are two ways of using Gnoga.

On one hand, as Joakim said, add the path of gnoga.gpr in your GPR file and 
build all together Gnoga and your program.
See more details on §4:
https://sourceforge.net/p/gnoga/code/ci/dev_1.6/tree/INSTALL

On the other hand, install Gnoga with "make install" and add the path of the 
installed gnoga.gpr in your GPR file  and build your program.
Tips: "make help" will give your actual INSTALL folder at line PREFIX.
See more details on §1:
https://sourceforge.net/p/gnoga/code/ci/dev_1.6/tree/INSTALL
This latter way needs that you use the same compiler for installing Gnoga and 
your program.

HTH, Pascal.
https://blady.pagesperso-orange.fr




___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


[Gnoga-list] [ANN] Gnoga version 1.6a and 2.1-beta.

2021-05-10 Thread Blady via Gnoga-list
Hello,

== Gnoga version 1.6a has been release on SF GIT:
https://sourceforge.net/p/gnoga/code/ci/dev_1.6/tree

Zipped source code will come soon at 
https://sourceforge.net/projects/gnoga/files.

See HISTORY for details:
https://sourceforge.net/p/gnoga/code/ci/dev_1.6/tree/HISTORY

== Version V2.1-beta has been released on SF GIT branch dev_2.1:
https://sourceforge.net/p/gnoga/code/ci/dev_2.1/tree

This version 2.1 is at the same level as 1.6 with in addition the support of 
dynamic Unicode strings via the UXStrings library 
(https://github.com/Blady-Com/UXStrings).

See HISTORY for detailed features added.
V2.1 has been tested (demos, tests, tutorials) with GNAT Community 2020 on 
macOS 11.2 with Safari 14.

I propose that new features will be added only on this version.
Bug fixes will be still added on version 1.6.

What do you think of going on 2.1?

Volunteers are welcome to test it further on their own configuration.
Some testing on Windows and Linux configuration will be appreciated.

Contributors are welcome.

Feel free to report detailed issues on Gnoga list or create tickets on SF:
https://sourceforge.net/p/gnoga/mailman/
https://sourceforge.net/p/gnoga/tickets/

Regards, Pascal.
https://blady.pagesperso-orange.fr




___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


[Gnoga-list] Fw: Re: Rebuilding from scratch

2021-05-10 Thread Chip at Twirling Hall

-- Forwarded Message 
From: Chip at Twirling Hall 
Date: 2021-05-10 12:29:43
Subject: Re: [Gnoga-list] Rebuilding from scratch
To: Dubois 

Thanks!

I've tried both downloading the latest version, and cloning the git repository.

I can build tutorial_01 within its project, but I am hitting issues when I try 
to have my existing Ada projects access Gnoga.

"with"ing the Gnoga projects from my project gives the 'different compiler 
version' errors.

What I think I need to be able to do is to build from source within the context 
of my projects (and I am working toward that), but I am finding duplicate 
source files between the various Gnoga directories, and things like that. 
Nothing unexpected, but it would be nice if someone already familiar with Gnoga 
could say, "Oh, yeah, if you are going to use Singleton App, you need to 
compile the source in directories A, B, and C.

Thanks for any information that you have!
Chip Staples
Twirling Hall LLC
c...@twirling-hall.com
On 2021-05-10 03:02:59, Dubois  wrote:
Hello,
latest version 1.a is here :
https://sourceforge.net/projects/gnoga/files/ 
[https://sourceforge.net/projects/gnoga/files/]
But is seems 1.6a vas released 3 days ago but i don't see it on the site.
-If you compile with the latest version, normally you will have no problem.
Nice day


Le 10/05/2021 à 03:10, Chip at Twirling Hall a écrit :

A screenshot of the errors I am getting when building my main unit in GNAT  
Studio.


Thanks!
Chip Staples
Chief Engineer, Twirling Hall LLC
434-989-3995
c...@twirling-hall.com [mailto:c...@twirling-hall.com]
c...@twirling-hall.com [mailto:c...@twirling-hall.com]On 2021-05-09 21:07:23, 
Chip at Twirling Hall  [mailto:c...@twirling-hall.com] 
wrote:
I've cloned the repository and built (and run) tutorial_01.  I am now trying to 
integrate Gnoga into my GNAT project tree. I am getting errors that files must 
be recompiled because of different GNAT versions, but I can't figure out which 
of the existing Gnoga projects to use to make sure I get a clean build of 
everything.

Can someone point me to some info about how to build from scratch?


Thanks!
Chip Staples
Chief Engineer, Twirling Hall LLC

434-989-3995
c...@twirling-hall.com [mailto:c...@twirling-hall.com]


___ Gnoga-list mailing list 
Gnoga-list@lists.sourceforge.net [mailto:Gnoga-list@lists.sourceforge.net] 
https://lists.sourceforge.net/lists/listinfo/gnoga-list 
[https://lists.sourceforge.net/lists/listinfo/gnoga-list]___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


Re: [Gnoga-list] Rebuilding from scratch

2021-05-10 Thread Joakim Dahlgren Strandberg
Hi Chip,


I don't usually install Gnoga but download it into a directory and then in the 
project (gpr-file) that I create I with the gnoga/src/gnoga.gpr file. You may 
need to edit the gnoga.gpr file or some other file it depends upon in order to 
make the Ada code compile because it usually doesn't work out of the box, and 
it's because Gnoga wasn't intended to be used like that. It is my impression 
Gnoga is intended to be used through building all the Gnoga code and then 
install gnoga globally so that all Gnoga applications use one and the same 
version of Gnoga. I can imagine that the global installation of Gnoga has its 
spec files readonly and the package bodies are not included because the code 
has been pre-compiled into a static library. I prefer to be able to edit the 
Gnoga code directly, compile through the GPS and see the effect of the Gnoga 
code changes immediately and that each of my gnoga projects has its own version 
of Gnoga source code.


I hope you are successfull in your attempts to re-compile all the Ada code with 
one and the same Ada compiler. Perhaps it's a path issue?


Best regards,

Joakim


Från: Chip at Twirling Hall 
Skickat: den 10 maj 2021 03:07:23
Till: gnoga-list@lists.sourceforge.net
Ämne: [Gnoga-list] Rebuilding from scratch

I've cloned the repository and built (and run) tutorial_01.  I am now trying to 
integrate Gnoga into my GNAT project tree. I am getting errors that files must 
be recompiled because of different GNAT versions, but I can't figure out which 
of the existing Gnoga projects to use to make sure I get a clean build of 
everything.

Can someone point me to some info about how to build from scratch?

Thanks!
Chip Staples
Chief Engineer, Twirling Hall LLC
434-989-3995
c...@twirling-hall.com
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list