From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:8204:b0:6fa:6424:5d87 with SMTP id ow4-20020a05620a820400b006fa64245d87mr4626426qkn.651.1673500428170; Wed, 11 Jan 2023 21:13:48 -0800 (PST) X-Received: by 2002:ac8:67da:0:b0:3a5:122:fb79 with SMTP id r26-20020ac867da000000b003a50122fb79mr2116414qtp.452.1673500427959; Wed, 11 Jan 2023 21:13:47 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 11 Jan 2023 21:13:47 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 118.208.176.39 References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com> <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Artificial Intelligence libraries in ADA From: Roger Mc Injection-Date: Thu, 12 Jan 2023 05:13:48 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3283 Xref: reader01.eternal-september.org comp.lang.ada:64802 List-Id: On Thursday, January 12, 2023 at 4:00:58 PM UTC+11, roda...@gmail.com wrote= : > On 12/1/23 13:46, Roger Mc wrote:=20 > > On Wednesday, January 11, 2023 at 5:34:48 PM UTC+11, roda...@gmail.com = wrote:=20 > >=20 > > I've tried to install cBound and am not quite sure what I need to do.= =20 > > When I try to build the library it fails with:=20 > > 2023-01-12 13:37:54] /Ada_Source/cBound/tier-1/tensorflow/library/tenso= rflow.gpr:2:06: unknown project file: "swig"=20 > >=20 > > I have installed swig4ada but it does not seem to have a gpr file.=20 > >=20 > > Attempts to build the 'hello_tf' demo fails with:=20 > > /Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr:= 2:06: unknown project file: "tensorflow"=20 > > [2023-01-12 13:42:51] /Ada_Source/cBound/tier-1/tensorflow/applet/demo/= hello_tf/hello_tf.gpr:3:06: unknown project file: "swig"=20 > >=20 > > Not surprising as I couldn't build the tensorflow library?=20 >=20 > Have you followed the install instructions in the README.md ?=20 >=20 >=20 >=20 > Install=20 >=20 > Add the following lines to ~/.bashrc or equivalent ...=20 >=20 > export CBOUND=3D/path/to/cbound=20 >=20 > source $CBOUND/cbound-gpr_paths.sh=20 >=20 >=20 >=20 > That should make both 'swig.gpr' and 'tensorflow.gpr' visible to your app= . I soon realised what was wrong and deleted this message; apparently not qui= ckly enough. I did follow the instructions but then proceeded to operate from a non-upda= ted terminal session!!! Anyway, thanks for your consideration. I=E2=80=99m now battling getting cBound to acces the tensorflow c_api on my= Mac which I=E2=80=99ve definitely done before on other projects.