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=-2.2 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,NICE_REPLY_A,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: Artificial Intelligence libraries in ADA Date: Thu, 12 Jan 2023 16:01:10 +1100 Organization: A noiseless patient Spider Message-ID: References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com> <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 12 Jan 2023 05:00:55 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b"; logging-data="1263672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+s6ik0QCJbOhRq62+/xWyenP3x105LC4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cancel-Lock: sha1:RFzd6s8ZpMM7fzSSBTjom/Jbabc= In-Reply-To: <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:64801 List-Id: On 12/1/23 13:46, Roger Mc wrote: > On Wednesday, January 11, 2023 at 5:34:48 PM UTC+11, roda...@gmail.com wrote: > > I've tried to install cBound and am not quite sure what I need to do. > When I try to build the library it fails with: > 2023-01-12 13:37:54] /Ada_Source/cBound/tier-1/tensorflow/library/tensorflow.gpr:2:06: unknown project file: "swig" > > I have installed swig4ada but it does not seem to have a gpr file. > > Attempts to build the 'hello_tf' demo fails with: > /Ada_Source/cBound/tier-1/tensorflow/applet/demo/hello_tf/hello_tf.gpr:2:06: unknown project file: "tensorflow" > [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" > > Not surprising as I couldn't build the tensorflow library? Have you followed the install instructions in the README.md ? Install Add the following lines to ~/.bashrc or equivalent ... export CBOUND=/path/to/cbound source $CBOUND/cbound-gpr_paths.sh That should make both 'swig.gpr' and 'tensorflow.gpr' visible to your app.