comp.lang.ada
 help / color / mirror / Atom feed
From: alby.gamper@gmail.com
Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12
Date: Wed, 1 May 2019 04:56:54 -0700 (PDT)
Date: 2019-05-01T04:56:54-07:00	[thread overview]
Message-ID: <8c5d8c9a-d594-4bb2-b5d7-6235c112a39d@googlegroups.com> (raw)
In-Reply-To: <f14259b2-6d2f-47e4-90fd-78e770cf2d2c@googlegroups.com>

On Wednesday, May 1, 2019 at 6:57:28 AM UTC+10, Greg wrote:
> Alex,
> 
> 1. I think I had canceled a build earlier, which is why we didn't see those two "missing" adb files. 
> 2. Forgotten that SYSTEM paths come before USER paths in Windows, so added some entries to SYSTEM path for MSYS and rebooted.
> 3. Created a new XAML app in VS 2019 called "RaceDirector" (which is what "RD" stood for, just got lazy.)
> 4. In VS project properties, "C:\MSYS64\..." picked up correctly for the 3 "Gnat Root" directories.
> 5. Consequently, I proceeded to build the solution WITHOUT a change to the project properties.
> 5. Built "RaceDirectorXaml" fine.
> 6. Building "RaceDirector" yields this:
> 
> 1>------ Build started: Project: RaceDirector, Configuration: Debug x64 ------
> 1>Compile
> 1>   [Ada]          racedirector.adb
> 1>   [Ada]          appoverrides.adb
> 1>   [Ada]          winmainstartup.adb
> 1>   [Ada]          guitask.adb
> 1>   [Ada]          locatortask.adb
> 1>   [Ada]          racedirectorxaml.adb
> 1>Bind
> 1>   [gprbind]      racedirector.bexch
> 1>   [Ada]          racedirector.ali
> 1>MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\Dad\AppData\Local\Temp\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
> 1>A task was canceled.
> 1>A task was canceled.
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
> Notice I did NOT get the ...
> 1>gprbind: invocation of gnatbind failed 
> 1>gprbuild: unable to bind rd.adb 
> ... but still a build error. And still cannot find a MSBuild_*.failure.txt in the indicated directory.
> 
> NEXT ...
> 
> Launched a x64 Native VS2019 command prompt:
> 
> gprbuild -f -v -p -P RaceDirector.gpr
> ==============Error messages for file: C:\home\dad\dev2\RaceDirector\RaceDirector\RaceDirector\RaceDirector.gpr
>      4. with "WinRt.gpr";
>         >>> unknown project file: "WinRt.gpr"
> gprbuild: "RaceDirector.gpr" processing failed
> 
> So this has GOT to be a directory/path I'm not setting somewhere.
> 
> Onward, SO close :)
> Greg

Hi Greg

Apologies for the delay in responding! Time zone differences always make it
hard to quickly resolve some issues. Anyway, I have rebuilt my environment to
use GNAT Community edition 2018 (which uses gcc version 7.3, rather than the
MSYS2 environment, which uses gcc 8.3)

I have found some issues with Gnat CE 2018, (not in the compiler itself, But
with the underlying mingw32 runtime library) and in no way is this a
fault of AdaCore or the MSYS2 project, Just my inability to resource my own
time to test this under BOTH environments. :-(

I believe I have a solution working for both environments, But I need some time
to test the changes to the WinRT runtime via the ACATS test suite. Please bear
with me (should/might take a day or so to resolve)

If you are keen to use the MSYS2/mingew64 GCC based environment as an 
alternative, I am happy to help you set this up. Its fairly straight forward
to get up and running on windows, and I can assist (ie post a wiki on my GitHub)
if needed.

Alex

  reply	other threads:[~2019-05-01 11:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12 11:03 ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12 alby.gamper
2019-04-17 15:52 ` Ark Man
2019-04-17 20:10   ` Greg
2019-04-20  4:23     ` alby.gamper
2019-04-20  4:52       ` alby.gamper
2019-04-28  3:19         ` Greg
2019-04-28  3:57           ` alby.gamper
2019-04-28  4:34             ` alby.gamper
2019-04-29 18:18               ` Greg
2019-04-30  9:38                 ` alby.gamper
2019-04-30 20:57                   ` Greg
2019-05-01 11:56                     ` alby.gamper [this message]
2019-05-01 16:45                       ` Greg
2019-05-03 11:52                         ` alby.gamper
2019-05-03 12:05                           ` alby.gamper
2019-05-03 12:11                             ` alby.gamper
2019-05-04  2:31                               ` Greg
2019-05-04  2:53                                 ` Greg
2019-05-04  5:23                                   ` alby.gamper
2019-05-04  5:33                                     ` alby.gamper
2019-05-04 13:31                                       ` Greg
2019-05-04 13:45                                         ` alby.gamper
2019-05-05  8:40                                         ` alby.gamper
replies disabled

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