From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a5d:9153:: with SMTP id y19mr477467ioq.38.1556711814782; Wed, 01 May 2019 04:56:54 -0700 (PDT) X-Received: by 2002:a54:4f15:: with SMTP id e21mr6174236oiy.122.1556711814490; Wed, 01 May 2019 04:56:54 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!136no125278itk.0!news-out.google.com!v189ni189itv.0!nntp.google.com!136no125274itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 1 May 2019 04:56:54 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <13ce24c7-2cfd-4c77-8e4f-2aba216d9ca9@googlegroups.com> <12955098-0ae7-4e2e-b4dd-050620a1f039@googlegroups.com> <22ad2bb3-4d6e-48f0-9f72-ea2464390b13@googlegroups.com> <3d9b62c5-6461-420a-b051-132618c40369@googlegroups.com> <67e68b33-4fa1-45fc-aac5-3294258bb4da@googlegroups.com> <30e9156c-193e-459d-987c-06182f78ae89@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8c5d8c9a-d594-4bb2-b5d7-6235c112a39d@googlegroups.com> Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12 From: alby.gamper@gmail.com Injection-Date: Wed, 01 May 2019 11:56:54 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56217 Date: 2019-05-01T04:56:54-07:00 List-Id: On Wednesday, May 1, 2019 at 6:57:28 AM UTC+10, Greg wrote: > Alex, >=20 > 1. I think I had canceled a build earlier, which is why we didn't see tho= se two "missing" adb files.=20 > 2. Forgotten that SYSTEM paths come before USER paths in Windows, so adde= d 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 th= e project properties. > 5. Built "RaceDirectorXaml" fine. > 6. Building "RaceDirector" yields this: >=20 > 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 do= wn. Diagnostic information may be found in files in "C:\Users\Dad\AppData\L= ocal\Temp\" and will be named MSBuild_*.failure.txt. This location can be c= hanged by setting the MSBUILDDEBUGPATH environment variable to a different = directory. > 1>A task was canceled. > 1>A task was canceled. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Build: 0 succeeded, 1 failed, 0 up-to-date= , 0 skipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Notice I did NOT get the ... > 1>gprbind: invocation of gnatbind failed=20 > 1>gprbuild: unable to bind rd.adb=20 > ... but still a build error. And still cannot find a MSBuild_*.failure.tx= t in the indicated directory. >=20 > NEXT ... >=20 > Launched a x64 Native VS2019 command prompt: >=20 > gprbuild -f -v -p -P RaceDirector.gpr > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DError messages for file: C:\hom= e\dad\dev2\RaceDirector\RaceDirector\RaceDirector\RaceDirector.gpr > 4. with "WinRt.gpr"; > >>> unknown project file: "WinRt.gpr" > gprbuild: "RaceDirector.gpr" processing failed >=20 > So this has GOT to be a directory/path I'm not setting somewhere. >=20 > 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 th= e MSYS2 environment, which uses gcc 8.3) I have found some issues with Gnat CE 2018, (not in the compiler itself, Bu= t 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 b= ear 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=20 alternative, I am happy to help you set this up. Its fairly straight forwar= d to get up and running on windows, and I can assist (ie post a wiki on my Gi= tHub) if needed. Alex